<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* security/register.html.twig */
class __TwigTemplate_c84f66e13d5452f03660c4a14b58c119 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "security/register.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$this->parent = $this->load("base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register.form.title"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
yield " <div class=\"container-fluid align-self-center py-3\">
<div class=\"row\">
<div class=\"col-lg-6 offset-lg-3 bg-light py-3\">
<h1 class=\"text-center\">Inscription</h1>
<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>
<p class=\"text-center\">Remplissez le formulaire suivant :</p>
";
// line 12
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');
yield "
<div class=\"row\">
<div class=\"form-group\">
";
// line 15
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", false, false, false, 15), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Nom"]);
yield "
";
// line 16
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", false, false, false, 16), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\">
";
// line 19
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", false, false, false, 19), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Prénom"]);
yield "
";
// line 20
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", false, false, false, 20), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\">
";
// line 23
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", false, false, false, 23), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Email"]);
yield "
";
// line 24
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", false, false, false, 24), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\">
";
// line 27
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", false, false, false, 27), 'row', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\">
";
// line 30
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", false, false, false, 30), 'label', ["label_attr" => ["class" => "form-label"], "label" => "Comment avez-vous connu ce site ?"]);
yield "
<p style=\"font-size: 12px\"><em>Max 150 caractères</em></p>
";
// line 32
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", false, false, false, 32), 'widget', ["attr" => ["class" => "form-control", "id" => "comment-field"]]);
yield "
<div id=\"char-count-info\" class=\"char-count-info\"></div>
";
// line 34
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", false, false, false, 34), 'errors');
yield "
<div id=\"char-count-info\" class=\"char-count-info\"></div>
</div>
<span class=\"obligationText\">Champs obligatoire *</span>
<div class=\"lienAuthenticationForm\" style=\"text-align: right;\">
<a href=\"";
// line 39
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\"><i class=\"fa-solid fa-arrow-rotate-left\" style=\"font-size:20px\"></i> ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("forgot.reset.login"), "html", null, true);
yield "</a>
</div>
<div class=\"form-submit\">
<button>
";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register.form.submit"), "html", null, true);
yield "
</button>
</div>
</div>
";
// line 47
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');
yield "
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "security/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}{{ 'register.form.title'|trans }}{% endblock %}
{% block body %}
<div class=\"container-fluid align-self-center py-3\">
<div class=\"row\">
<div class=\"col-lg-6 offset-lg-3 bg-light py-3\">
<h1 class=\"text-center\">Inscription</h1>
<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>
<p class=\"text-center\">Remplissez le formulaire suivant :</p>
{{ form_start(form) }}
<div class=\"row\">
<div class=\"form-group\">
{{ form_label(form.name, 'Nom', {'label_attr': {'class': 'form-label'}}) }}
{{ form_widget(form.name, {'attr': {'class': 'form-control'}}) }}
</div>
<div class=\"form-group\">
{{ form_label(form.surname, 'Prénom', {'label_attr': {'class': 'form-label'}}) }}
{{ form_widget(form.surname, {'attr': {'class': 'form-control'}}) }}
</div>
<div class=\"form-group\">
{{ form_label(form.email, 'Email', {'label_attr': {'class': 'form-label'}}) }}
{{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
</div>
<div class=\"form-group\">
{{ form_row(form.password, {'attr': {'class': 'form-control'}}) }}
</div>
<div class=\"form-group\">
{{ form_label(form.comment, 'Comment avez-vous connu ce site ?', {'label_attr': {'class': 'form-label'}}) }}
<p style=\"font-size: 12px\"><em>Max 150 caractères</em></p>
{{ form_widget(form.comment, {'attr': {'class': 'form-control', 'id': 'comment-field'}}) }}
<div id=\"char-count-info\" class=\"char-count-info\"></div>
{{ form_errors(form.comment) }}
<div id=\"char-count-info\" class=\"char-count-info\"></div>
</div>
<span class=\"obligationText\">Champs obligatoire *</span>
<div class=\"lienAuthenticationForm\" style=\"text-align: right;\">
<a href=\"{{ path('app_login') }}\"><i class=\"fa-solid fa-arrow-rotate-left\" style=\"font-size:20px\"></i> {{ 'forgot.reset.login'|trans }}</a>
</div>
<div class=\"form-submit\">
<button>
{{ 'register.form.submit'|trans }}
</button>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
{% endblock %}
", "security/register.html.twig", "/var/www/php81/ecusson2026/templates/security/register.html.twig");
}
}