<?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_49e8bb9014eaf271f78eef8c0d7d502f 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 "./auth-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", "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("./auth-base.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éinitialiser mot de passe";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 3
/**
* @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 4
yield "<!--begin::Form-->
\t\t\t\t\t<div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
\t\t\t\t\t\t<!--begin::Wrapper-->
\t\t\t\t\t\t<div class=\"w-lg-500px p-10\">
\t\t\t\t\t\t\t ";
// line 8
$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.', 8, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 8));
foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
// line 9
yield "\t\t\t\t\t\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\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
yield "\t\t\t\t\t\t\t<!--begin::Form-->
\t\t\t\t\t\t\t";
// line 12
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.', 12, $this->source); })()), 'form_start', ["attr" => ["class" => "form w-100"], "method" => "POST"]);
yield "
\t\t\t\t\t\t\t\t<!--begin::Heading-->
\t\t\t\t\t\t\t\t<div class=\"text-center mb-10\">
\t\t\t\t\t\t\t\t\t<!--begin::Title-->
\t\t\t\t\t\t\t\t\t<h1 class=\"text-dark fw-bolder mb-3\">";
// line 16
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Mot de passe oublié ?", [], "messages");
yield "</h1>
\t\t\t\t\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t\t\t\t\t<!--begin::Link-->
\t\t\t\t\t\t\t\t\t<div class=\"text-gray-500 fw-semibold fs-6\">";
// line 19
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.', 19, $this->source); })()), "email", [], "any", false, false, false, 19), 'label');
yield "</div>
\t\t\t\t\t\t\t\t\t<!--end::Link-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--begin::Heading-->
\t\t\t\t\t\t\t\t<!--begin::Input group=-->
\t\t\t\t\t\t\t\t<div class=\"fv-row mb-8\">
\t\t\t\t\t\t\t\t\t<!--begin::Email-->
\t\t\t\t\t\t\t\t\t";
// line 26
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.', 26, $this->source); })()), "email", [], "any", false, false, false, 26), 'widget', ["attr" => ["class" => "form-control bg-transparent"]]);
yield "
\t\t\t\t\t\t\t\t\t<div class=\"invalid-feedback d-block\">
\t\t\t\t\t\t\t\t\t\t";
// line 28
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.', 28, $this->source); })()), "email", [], "any", false, false, false, 28), 'errors');
yield "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--end::Email-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--begin::Actions-->
\t\t\t\t\t\t\t\t<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary me-4\">
\t\t\t\t\t\t\t\t\t\t";
// line 35
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Envoyer", [], "messages");
// line 36
yield "\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 37
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" class=\"btn btn-light\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Annuler", [], "messages");
yield "</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--end::Actions-->
\t\t\t\t\t\t\t";
// line 40
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.', 40, $this->source); })()), 'form_end');
yield "
\t\t\t\t\t\t\t<!--end::Form-->
</div>
\t\t\t\t\t\t<!--end::Wrapper-->
\t\t\t\t\t</div>
\t\t\t\t\t<!--end::Form-->
";
$__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 ( 173 => 40, 165 => 37, 162 => 36, 160 => 35, 150 => 28, 145 => 26, 135 => 19, 129 => 16, 122 => 12, 119 => 11, 110 => 9, 106 => 8, 100 => 4, 87 => 3, 64 => 2, 41 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends './auth-base.html.twig' %}
{% block title %}Réinitialiser mot de passe{% endblock %}
{% block body %}
<!--begin::Form-->
\t\t\t\t\t<div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
\t\t\t\t\t\t<!--begin::Wrapper-->
\t\t\t\t\t\t<div class=\"w-lg-500px p-10\">
\t\t\t\t\t\t\t {% for flash_error in app.flashes('reset_password_error') %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t<!--begin::Form-->
\t\t\t\t\t\t\t{{ form_start(requestForm, {'attr': {'class': 'form w-100'}, 'method': 'POST'}) }}
\t\t\t\t\t\t\t\t<!--begin::Heading-->
\t\t\t\t\t\t\t\t<div class=\"text-center mb-10\">
\t\t\t\t\t\t\t\t\t<!--begin::Title-->
\t\t\t\t\t\t\t\t\t<h1 class=\"text-dark fw-bolder mb-3\">{% trans %}Mot de passe oublié ?{% endtrans %}</h1>
\t\t\t\t\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t\t\t\t\t<!--begin::Link-->
\t\t\t\t\t\t\t\t\t<div class=\"text-gray-500 fw-semibold fs-6\">{{ form_label(requestForm.email) }}</div>
\t\t\t\t\t\t\t\t\t<!--end::Link-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--begin::Heading-->
\t\t\t\t\t\t\t\t<!--begin::Input group=-->
\t\t\t\t\t\t\t\t<div class=\"fv-row mb-8\">
\t\t\t\t\t\t\t\t\t<!--begin::Email-->
\t\t\t\t\t\t\t\t\t{{form_widget(requestForm.email, {'attr': {'class': 'form-control bg-transparent'}})}}
\t\t\t\t\t\t\t\t\t<div class=\"invalid-feedback d-block\">
\t\t\t\t\t\t\t\t\t\t{{ form_errors(requestForm.email) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--end::Email-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--begin::Actions-->
\t\t\t\t\t\t\t\t<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary me-4\">
\t\t\t\t\t\t\t\t\t\t{% trans %}Envoyer{% endtrans %}
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t<a href=\"{{path('app_login')}}\" class=\"btn btn-light\">{% trans %}Annuler{% endtrans %}</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<!--end::Actions-->
\t\t\t\t\t\t\t{{ form_end(requestForm) }}
\t\t\t\t\t\t\t<!--end::Form-->
</div>
\t\t\t\t\t\t<!--end::Wrapper-->
\t\t\t\t\t</div>
\t\t\t\t\t<!--end::Form-->
{% endblock %} ", "reset_password/request.html.twig", "/home/forge/artiboxpro.matsu-digital.fr/templates/reset_password/request.html.twig");
}
}