var/cache/dev/twig/78/7877d90e0b0d4e88a2a37c3c9b446b43.php line 54

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. /* reset_password/request.html.twig */
  16. class __TwigTemplate_fd4dee7181de3b5c27539307cd10cc77 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""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->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 "Réinitialisation de mot de passe";
  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 "    ";
  82.         $context['_parent'] = $context;
  83.         $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.'6$this->source); })()), "flashes", ["reset_password_error"], "method"falsefalsefalse6));
  84.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  85.             // line 7
  86.             yield "        <div class=\"alert alert-danger\" role=\"alert\">";
  87.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html"nulltrue);
  88.             yield "</div>
  89.     ";
  90.         }
  91.         $_parent $context['_parent'];
  92.         unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
  93.         $context array_intersect_key($context$_parent) + $_parent;
  94.         // line 9
  95.         yield "    <h1>Réinitialisez votre mot de passe</h1>
  96.     ";
  97.         // line 11
  98.         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.'11$this->source); })()), 'form_start');
  99.         yield "
  100.         ";
  101.         // line 12
  102.         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.'12$this->source); })()), "email", [], "any"falsefalsefalse12), 'row');
  103.         yield "
  104.         <div>
  105.             <small>
  106.                 Renseignez votre adresse mail et nous vous enverrons
  107.                 un lien de réinitialisation de mot de passe.
  108.                 ";
  109.         // line 18
  110.         yield "            </small>
  111.         </div>
  112.         <button class=\"btn btn-primary\">Envoyer le mail de réinitialisation de mot de passe</button>
  113.     ";
  114.         // line 22
  115.         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.'22$this->source); })()), 'form_end');
  116.         yield "
  117. ";
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122.         yield from [];
  123.     }
  124.     /**
  125.      * @codeCoverageIgnore
  126.      */
  127.     public function getTemplateName(): string
  128.     {
  129.         return "reset_password/request.html.twig";
  130.     }
  131.     /**
  132.      * @codeCoverageIgnore
  133.      */
  134.     public function isTraitable(): bool
  135.     {
  136.         return false;
  137.     }
  138.     /**
  139.      * @codeCoverageIgnore
  140.      */
  141.     public function getDebugInfo(): array
  142.     {
  143.         return array (  136 => 22,  130 => 18,  122 => 12,  118 => 11,  114 => 9,  105 => 7,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  144.     }
  145.     public function getSourceContext(): Source
  146.     {
  147.         return new Source("{% extends 'base.html.twig' %}
  148. {% block title %}Réinitialisation de mot de passe{% endblock %}
  149. {% block body %}
  150.     {% for flashError in app.flashes('reset_password_error') %}
  151.         <div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  152.     {% endfor %}
  153.     <h1>Réinitialisez votre mot de passe</h1>
  154.     {{ form_start(requestForm) }}
  155.         {{ form_row(requestForm.email) }}
  156.         <div>
  157.             <small>
  158.                 Renseignez votre adresse mail et nous vous enverrons
  159.                 un lien de réinitialisation de mot de passe.
  160.                 {# TODO : ajouter un petit mot par rapport aux experts qui n'ont pas d'adresse mail dans les comptes #}
  161.             </small>
  162.         </div>
  163.         <button class=\"btn btn-primary\">Envoyer le mail de réinitialisation de mot de passe</button>
  164.     {{ form_end(requestForm) }}
  165. {% endblock %}
  166. ""reset_password/request.html.twig""/home/clients/acb4fc297720bccaee1604666d4dcedb/girci_go_demo/templates/reset_password/request.html.twig");
  167.     }
  168. }