var/cache/dev/twig/f7/f77cc965b7b895278efe37d8dc047fa0.php line 108

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* security/register.html.twig */
  16. class __TwigTemplate_c84f66e13d5452f03660c4a14b58c119 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  44.         $this->parent $this->load("base.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register.form.title"), "html"nulltrue);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         yield from [];
  68.     }
  69.     // line 5
  70.     /**
  71.      * @return iterable<null|scalar|\Stringable>
  72.      */
  73.     public function block_body(array $context, array $blocks = []): iterable
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         // line 6
  81.         yield "    <div class=\"container-fluid align-self-center py-3\">
  82.         <div class=\"row\">
  83.             <div class=\"col-lg-6 offset-lg-3 bg-light py-3\">
  84.                 <h1 class=\"text-center\">Inscription</h1>
  85.                 <p class=\"text-center\"><em>Attention ! Vous ne pourrez accéder au site qu'une fois que votre inscription sera validé par l'administrateur.</em></p>
  86.                 <p class=\"text-center\">Remplissez le formulaire suivant :</p>
  87.                 ";
  88.         // line 12
  89.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'12$this->source); })()), 'form_start');
  90.         yield "
  91.                 <div class=\"row\">
  92.                     <div class=\"form-group\">
  93.                         ";
  94.         // line 15
  95.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'15$this->source); })()), "name", [], "any"falsefalsefalse15), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Nom"]);
  96.         yield "
  97.                         ";
  98.         // line 16
  99.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'16$this->source); })()), "name", [], "any"falsefalsefalse16), 'widget', ["attr" => ["class" => "form-control"]]);
  100.         yield "
  101.                     </div>
  102.                     <div class=\"form-group\">
  103.                         ";
  104.         // line 19
  105.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'19$this->source); })()), "surname", [], "any"falsefalsefalse19), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Prénom"]);
  106.         yield "
  107.                         ";
  108.         // line 20
  109.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'20$this->source); })()), "surname", [], "any"falsefalsefalse20), 'widget', ["attr" => ["class" => "form-control"]]);
  110.         yield "
  111.                     </div>
  112.                     <div class=\"form-group\">
  113.                         ";
  114.         // line 23
  115.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'23$this->source); })()), "email", [], "any"falsefalsefalse23), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Email"]);
  116.         yield "
  117.                         ";
  118.         // line 24
  119.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'24$this->source); })()), "email", [], "any"falsefalsefalse24), 'widget', ["attr" => ["class" => "form-control"]]);
  120.         yield "
  121.                     </div>
  122.                     <div class=\"form-group\">
  123.                         ";
  124.         // line 27
  125.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'27$this->source); })()), "password", [], "any"falsefalsefalse27), 'row', ["attr" => ["class" => "form-control"]]);
  126.         yield "
  127.                     </div>
  128.                     <div class=\"form-group\">
  129.                         ";
  130.         // line 30
  131.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'30$this->source); })()), "comment", [], "any"falsefalsefalse30), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Comment avez-vous connu ce site ?"]);
  132.         yield "
  133.                         <p style=\"font-size: 12px\"><em>Max 150 caractères</em></p>
  134.                         ";
  135.         // line 32
  136.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'32$this->source); })()), "comment", [], "any"falsefalsefalse32), 'widget', ["attr" => ["class" => "form-control""id" => "comment-field"]]);
  137.         yield "
  138.                         <div id=\"char-count-info\" class=\"char-count-info\"></div>
  139.                         ";
  140.         // line 34
  141.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'34$this->source); })()), "comment", [], "any"falsefalsefalse34), 'errors');
  142.         yield "
  143.                         <div id=\"char-count-info\" class=\"char-count-info\"></div>
  144.                     </div>
  145.                     <span class=\"obligationText\">Champs obligatoire *</span>
  146.                     <div class=\"lienAuthenticationForm\" style=\"text-align: right;\">
  147.                         <a href=\"";
  148.         // line 39
  149.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  150.         yield "\"><i class=\"fa-solid fa-arrow-rotate-left\" style=\"font-size:20px\"></i>&nbsp";
  151.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forgot.reset.login"), "html"nulltrue);
  152.         yield "</a>
  153.                     </div>
  154.                     <div class=\"form-submit\">
  155.                         <button>
  156.                             ";
  157.         // line 43
  158.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register.form.submit"), "html"nulltrue);
  159.         yield "
  160.                         </button>
  161.                     </div>
  162.                 </div>
  163.                 ";
  164.         // line 47
  165.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'47$this->source); })()), 'form_end');
  166.         yield "
  167.             </div>
  168.         </div>
  169.     </div>
  170. ";
  171.         
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  173.         
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  175.         yield from [];
  176.     }
  177.     /**
  178.      * @codeCoverageIgnore
  179.      */
  180.     public function getTemplateName(): string
  181.     {
  182.         return "security/register.html.twig";
  183.     }
  184.     /**
  185.      * @codeCoverageIgnore
  186.      */
  187.     public function isTraitable(): bool
  188.     {
  189.         return false;
  190.     }
  191.     /**
  192.      * @codeCoverageIgnore
  193.      */
  194.     public function getDebugInfo(): array
  195.     {
  196.         return array (  184 => 47,  177 => 43,  168 => 39,  160 => 34,  155 => 32,  150 => 30,  144 => 27,  138 => 24,  134 => 23,  128 => 20,  124 => 19,  118 => 16,  114 => 15,  108 => 12,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  197.     }
  198.     public function getSourceContext(): Source
  199.     {
  200.         return new Source("{% extends 'base.html.twig' %}
  201. {% block title %}{{ 'register.form.title'|trans }}{% endblock %}
  202. {% block body %}
  203.     <div class=\"container-fluid align-self-center py-3\">
  204.         <div class=\"row\">
  205.             <div class=\"col-lg-6 offset-lg-3 bg-light py-3\">
  206.                 <h1 class=\"text-center\">Inscription</h1>
  207.                 <p class=\"text-center\"><em>Attention ! Vous ne pourrez accéder au site qu'une fois que votre inscription sera validé par l'administrateur.</em></p>
  208.                 <p class=\"text-center\">Remplissez le formulaire suivant :</p>
  209.                 {{ form_start(form) }}
  210.                 <div class=\"row\">
  211.                     <div class=\"form-group\">
  212.                         {{ form_label(form.name, 'Nom', {'label_attr': {'class': 'form-label'}}) }}
  213.                         {{ form_widget(form.name, {'attr': {'class': 'form-control'}}) }}
  214.                     </div>
  215.                     <div class=\"form-group\">
  216.                         {{ form_label(form.surname, 'Prénom', {'label_attr': {'class': 'form-label'}}) }}
  217.                         {{ form_widget(form.surname, {'attr': {'class': 'form-control'}}) }}
  218.                     </div>
  219.                     <div class=\"form-group\">
  220.                         {{ form_label(form.email, 'Email', {'label_attr': {'class': 'form-label'}}) }}
  221.                         {{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
  222.                     </div>
  223.                     <div class=\"form-group\">
  224.                         {{ form_row(form.password, {'attr': {'class': 'form-control'}}) }}
  225.                     </div>
  226.                     <div class=\"form-group\">
  227.                         {{ form_label(form.comment, 'Comment avez-vous connu ce site ?', {'label_attr': {'class': 'form-label'}}) }}
  228.                         <p style=\"font-size: 12px\"><em>Max 150 caractères</em></p>
  229.                         {{ form_widget(form.comment, {'attr': {'class': 'form-control', 'id': 'comment-field'}}) }}
  230.                         <div id=\"char-count-info\" class=\"char-count-info\"></div>
  231.                         {{ form_errors(form.comment) }}
  232.                         <div id=\"char-count-info\" class=\"char-count-info\"></div>
  233.                     </div>
  234.                     <span class=\"obligationText\">Champs obligatoire *</span>
  235.                     <div class=\"lienAuthenticationForm\" style=\"text-align: right;\">
  236.                         <a href=\"{{ path('app_login') }}\"><i class=\"fa-solid fa-arrow-rotate-left\" style=\"font-size:20px\"></i>&nbsp{{ 'forgot.reset.login'|trans }}</a>
  237.                     </div>
  238.                     <div class=\"form-submit\">
  239.                         <button>
  240.                             {{ 'register.form.submit'|trans }}
  241.                         </button>
  242.                     </div>
  243.                 </div>
  244.                 {{ form_end(form) }}
  245.             </div>
  246.         </div>
  247.     </div>
  248. {% endblock %}
  249. ""security/register.html.twig""/var/www/php81/ecusson2026/templates/security/register.html.twig");
  250.     }
  251. }