<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* homesignup.html.twig */
class __TwigTemplate_632359154f69c44540624b0bbd95a1af extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homesignup.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homesignup.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "homesignup.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Créer un compte";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo " <section class=\"page_title ds s-overlay s-pt-150 s-pb-50\"
style=\"background-image: url(";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/cbrc/imagefond.jpg"), "html", null, true);
echo ")\">
<div class=\"s-blur\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 text-center\">
<h1><i class=\"fas fa-user-plus mr-3\"></i></i>Créer un compte</h1>
</div>
</div>
</div>
</section>
<section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
<div class=\"container\">
<div class=\"row justify-content-around \">
<div class=\"col-lg-6 col-md-8 col-12 card p-2 woocommerce-EditAccountForm\">
<div class=\"card-body\">
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registerform"]) || array_key_exists("registerform", $context) ? $context["registerform"] : (function () { throw new RuntimeError('Variable "registerform" does not exist.', 22, $this->source); })()), 'form_start');
echo "
";
// line 23
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registerform"]) || array_key_exists("registerform", $context) ? $context["registerform"] : (function () { throw new RuntimeError('Variable "registerform" does not exist.', 23, $this->source); })()), "email", [], "any", false, false, false, 23), 'row');
echo "
";
// line 24
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registerform"]) || array_key_exists("registerform", $context) ? $context["registerform"] : (function () { throw new RuntimeError('Variable "registerform" does not exist.', 24, $this->source); })()), "plainPassword", [], "any", false, false, false, 24), 'row');
echo "
<div class=\"form-check round-check mb-3\">
<input class=\"form-check-input\" type=\"checkbox\" id=\"termsofuse\" required>
<label class=\"form-check-label\" for=\"termsofuse\">
<span class=\"small\">Vous avez lu et vous acceptez les <a
href=\"";
// line 29
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("legal", array(), false);
echo "\">conditions d'utilisation</a></span>
</label>
</div>
";
// line 32
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["registerform"]) || array_key_exists("registerform", $context) ? $context["registerform"] : (function () { throw new RuntimeError('Variable "registerform" does not exist.', 32, $this->source); })()), "register", [], "any", false, false, false, 32), 'row');
echo "
";
// line 33
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registerform"]) || array_key_exists("registerform", $context) ? $context["registerform"] : (function () { throw new RuntimeError('Variable "registerform" does not exist.', 33, $this->source); })()), 'form_end');
echo "
<small>
Vous avez un compte? <a href=\"";
// line 35
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
echo "\"><u>Connectez-vous</u></a>
</small>
</div>
</div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "homesignup.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 140 => 35, 135 => 33, 131 => 32, 125 => 29, 117 => 24, 113 => 23, 109 => 22, 91 => 7, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Créer un compte{% endblock %}
{% block content %}
<section class=\"page_title ds s-overlay s-pt-150 s-pb-50\"
style=\"background-image: url({{ asset('assets/images/cbrc/imagefond.jpg') }})\">
<div class=\"s-blur\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 text-center\">
<h1><i class=\"fas fa-user-plus mr-3\"></i></i>Créer un compte</h1>
</div>
</div>
</div>
</section>
<section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
<div class=\"container\">
<div class=\"row justify-content-around \">
<div class=\"col-lg-6 col-md-8 col-12 card p-2 woocommerce-EditAccountForm\">
<div class=\"card-body\">
{{ form_start(registerform) }}
{{ form_row(registerform.email) }}
{{ form_row(registerform.plainPassword) }}
<div class=\"form-check round-check mb-3\">
<input class=\"form-check-input\" type=\"checkbox\" id=\"termsofuse\" required>
<label class=\"form-check-label\" for=\"termsofuse\">
<span class=\"small\">Vous avez lu et vous acceptez les <a
href=\"{{ path('legal', relative = false) }}\">conditions d'utilisation</a></span>
</label>
</div>
{{ form_row(registerform.register) }}
{{ form_end(registerform) }}
<small>
Vous avez un compte? <a href=\"{{ path('app_login', {}, relative = false) }}\"><u>Connectez-vous</u></a>
</small>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
", "homesignup.html.twig", "/home/maixmebouz/www/dev/cbrc/templates/homesignup.html.twig");
}
}