var/cache/dev/twig/df/dfbf0678afb1f9a085c203e8ba90be7e.php line 44
<?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;
/* reset_password/request.html.twig */
class __TwigTemplate_f5de65c205b8561fc7aa77f9558e92c4 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 "full.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", "reset_password/request.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "reset_password/request.html.twig"));
$this->parent = $this->loadTemplate("full.html.twig", "reset_password/request.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 2
/**
* @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 "Réinitialisation du mot de
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpasse
";
$__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 "
\t<h1 class=\"text-center my-3 my-lg-5\">Réinitialiser mot de passe</h1>
\t<div class=\" mb-5 \">
\t\t";
// line 12
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 12));
foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
// line 13
yield "\t\t\t<div class=\"alert alert-danger\" role=\"alert\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html", null, true);
yield "</div>
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
yield "\t\t<p>
\t\t\tRenseignez votre email et recevez un lien pour réinitialiser votre mot de passe.
\t\t</p>
\t\t";
// line 18
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 18, $this->source); })()), 'form_start', ["attr" => ["class" => "d-flex flex-column"]]);
yield "
\t\t";
// line 20
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 20, $this->source); })()), "email", [], "any", false, false, false, 20), 'label');
yield "
\t\t";
// line 21
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 21, $this->source); })()), "email", [], "any", false, false, false, 21), 'widget');
yield "
\t\t";
// line 22
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 22, $this->source); })()), "email", [], "any", false, false, false, 22), 'errors');
yield "
\t\t<button class=\" btn btn-primary align-self-end mt-4\">Envoyer
\t\t</button>
\t\t";
// line 27
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 27, $this->source); })()), 'form_end');
yield "
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "reset_password/request.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 149 => 27, 141 => 22, 137 => 21, 133 => 20, 128 => 18, 123 => 15, 114 => 13, 110 => 12, 102 => 6, 89 => 5, 64 => 2, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'full.html.twig' %}
{% block title %}Réinitialisation du mot de
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpasse
{% endblock %}
{% block body %}
\t<h1 class=\"text-center my-3 my-lg-5\">Réinitialiser mot de passe</h1>
\t<div class=\" mb-5 \">
\t\t{% for flash_error in app.flashes('reset_password_error') %}
\t\t\t<div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
\t\t{% endfor %}
\t\t<p>
\t\t\tRenseignez votre email et recevez un lien pour réinitialiser votre mot de passe.
\t\t</p>
\t\t{{ form_start(requestForm, {'attr' : {\"class\" : 'd-flex flex-column'}}) }}
\t\t{{ form_label(requestForm.email) }}
\t\t{{ form_widget(requestForm.email) }}
\t\t{{ form_errors(requestForm.email) }}
\t\t<button class=\" btn btn-primary align-self-end mt-4\">Envoyer
\t\t</button>
\t\t{{ form_end(requestForm) }}
\t</div>
{% endblock %}
", "reset_password/request.html.twig", "/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/reset_password/request.html.twig");
}
}