var/cache/dev/twig/df/dfbf0678afb1f9a085c203e8ba90be7e.php line 92

  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. /* reset_password/request.html.twig */
  16. class __TwigTemplate_f5de65c205b8561fc7aa77f9558e92c4 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 "full.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""reset_password/request.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""reset_password/request.html.twig"));
  44.         $this->parent $this->loadTemplate("full.html.twig""reset_password/request.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 2
  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 "Réinitialisation du mot de
  63. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpasse
  64. ";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         yield from [];
  70.     }
  71.     // line 5
  72.     /**
  73.      * @return iterable<null|scalar|\Stringable>
  74.      */
  75.     public function block_body(array $context, array $blocks = []): iterable
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  82.         // line 6
  83.         yield "
  84. \t<h1 class=\"text-center my-3 my-lg-5\">Réinitialiser mot de passe</h1>
  85. \t<div class=\" mb-5 \">
  86. \t\t";
  87.         // line 12
  88.         $context['_parent'] = $context;
  89.         $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"falsefalsefalse12));
  90.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  91.             // line 13
  92.             yield "\t\t\t<div class=\"alert alert-danger\" role=\"alert\">";
  93.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  94.             yield "</div>
  95. \t\t";
  96.         }
  97.         $_parent $context['_parent'];
  98.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  99.         $context array_intersect_key($context$_parent) + $_parent;
  100.         // line 15
  101.         yield "\t\t<p>
  102. \t\t\tRenseignez votre email et recevez un lien pour réinitialiser votre mot de passe.
  103. \t\t</p>
  104. \t\t";
  105.         // line 18
  106.         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"]]);
  107.         yield "
  108. \t\t";
  109.         // line 20
  110.         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"falsefalsefalse20), 'label');
  111.         yield "
  112. \t\t";
  113.         // line 21
  114.         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"falsefalsefalse21), 'widget');
  115.         yield "
  116. \t\t";
  117.         // line 22
  118.         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"falsefalsefalse22), 'errors');
  119.         yield "
  120. \t\t<button class=\"  btn btn-primary align-self-end mt-4\">Envoyer
  121. \t\t</button>
  122. \t\t";
  123.         // line 27
  124.         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');
  125.         yield "
  126. \t</div>
  127. ";
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.         yield from [];
  133.     }
  134.     /**
  135.      * @codeCoverageIgnore
  136.      */
  137.     public function getTemplateName(): string
  138.     {
  139.         return "reset_password/request.html.twig";
  140.     }
  141.     /**
  142.      * @codeCoverageIgnore
  143.      */
  144.     public function isTraitable(): bool
  145.     {
  146.         return false;
  147.     }
  148.     /**
  149.      * @codeCoverageIgnore
  150.      */
  151.     public function getDebugInfo(): array
  152.     {
  153.         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,);
  154.     }
  155.     public function getSourceContext(): Source
  156.     {
  157.         return new Source("{% extends 'full.html.twig' %}
  158. {% block title %}Réinitialisation du mot de
  159. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpasse
  160. {% endblock %}
  161. {% block body %}
  162. \t<h1 class=\"text-center my-3 my-lg-5\">Réinitialiser mot de passe</h1>
  163. \t<div class=\" mb-5 \">
  164. \t\t{% for flash_error in app.flashes('reset_password_error') %}
  165. \t\t\t<div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  166. \t\t{% endfor %}
  167. \t\t<p>
  168. \t\t\tRenseignez votre email et recevez un lien pour réinitialiser votre mot de passe.
  169. \t\t</p>
  170. \t\t{{ form_start(requestForm, {'attr' : {\"class\" : 'd-flex flex-column'}}) }}
  171. \t\t{{ form_label(requestForm.email) }}
  172. \t\t{{ form_widget(requestForm.email) }}
  173. \t\t{{ form_errors(requestForm.email) }}
  174. \t\t<button class=\"  btn btn-primary align-self-end mt-4\">Envoyer
  175. \t\t</button>
  176. \t\t{{ form_end(requestForm) }}
  177. \t</div>
  178. {% endblock %}
  179. ""reset_password/request.html.twig""/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/reset_password/request.html.twig");
  180.     }
  181. }