var/cache/dev/twig/80/80bde86e170ea9f9634c30706f9fc023.php line 124

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_813e199c00c2dd150d7ed8a501c8011e 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 "dashboard/layout.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("dashboard/layout.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 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 "Vous avez oublié votre 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 "<main class=\"template-account-choice bg-lbp container-fluid vh-100\">
  82.     <a class=\"template-login__logo\" href=\"/\" title=\"Accueil\">
  83.         <img class=\"w-100 h-100\" src=\"/static/img/commun/logo.png\" alt=\"Logo LesBonsProfs.com\">
  84.     </a>
  85.     <div class=\"d-flex justify-content-center\">
  86.         <div class=\"template-login__container\">
  87.             ";
  88.         // line 12
  89.         $context['_parent'] = $context;
  90.         $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));
  91.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  92.             // line 13
  93.             yield "                <div class=\"alert alert-danger\" role=\"alert\">";
  94.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html"nulltrue);
  95.             yield "</div>
  96.             ";
  97.         }
  98.         $_parent $context['_parent'];
  99.         unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
  100.         $context array_intersect_key($context$_parent) + $_parent;
  101.         // line 15
  102.         yield "            <h1 class=\"d-block template-login__container__form__title\">Vous avez oublié votre mot de passe ?</h1>
  103.             ";
  104.         // line 16
  105.         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.'16$this->source); })()), 'form_start');
  106.         yield "
  107.             <div class=\"mt-2 mb-2\">
  108.                 Et oui, cela arrive... Mais pas d'inquiétude, nous allons vous aider. Avec quel email avez-vous créé le compte ?
  109.             </div>
  110.             <div class=\"mb-5\">
  111.                 ";
  112.         // line 22
  113.         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), 'widget');
  114.         yield "
  115.             </div>
  116.             <div class=\"text-center\">
  117.                 <button class=\"btn btn-pink mx-auto\">Créer un nouveau mot de passe</button>
  118.             </div>
  119.             ";
  120.         // line 29
  121.         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.'29$this->source); })()), 'form_end');
  122.         yield "
  123.         </div>
  124.     </div>
  125. </main>
  126. ";
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         yield from [];
  132.     }
  133.     /**
  134.      * @codeCoverageIgnore
  135.      */
  136.     public function getTemplateName(): string
  137.     {
  138.         return "reset_password/request.html.twig";
  139.     }
  140.     /**
  141.      * @codeCoverageIgnore
  142.      */
  143.     public function isTraitable(): bool
  144.     {
  145.         return false;
  146.     }
  147.     /**
  148.      * @codeCoverageIgnore
  149.      */
  150.     public function getDebugInfo(): array
  151.     {
  152.         return array (  143 => 29,  133 => 22,  124 => 16,  121 => 15,  112 => 13,  108 => 12,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  153.     }
  154.     public function getSourceContext(): Source
  155.     {
  156.         return new Source("{% extends 'dashboard/layout.html.twig' %}
  157. {% block title %}Vous avez oublié votre mot de passe ?{% endblock %}
  158. {% block body %}
  159. <main class=\"template-account-choice bg-lbp container-fluid vh-100\">
  160.     <a class=\"template-login__logo\" href=\"/\" title=\"Accueil\">
  161.         <img class=\"w-100 h-100\" src=\"/static/img/commun/logo.png\" alt=\"Logo LesBonsProfs.com\">
  162.     </a>
  163.     <div class=\"d-flex justify-content-center\">
  164.         <div class=\"template-login__container\">
  165.             {% for flashError in app.flashes('reset_password_error') %}
  166.                 <div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  167.             {% endfor %}
  168.             <h1 class=\"d-block template-login__container__form__title\">Vous avez oublié votre mot de passe ?</h1>
  169.             {{ form_start(requestForm) }}
  170.             <div class=\"mt-2 mb-2\">
  171.                 Et oui, cela arrive... Mais pas d'inquiétude, nous allons vous aider. Avec quel email avez-vous créé le compte ?
  172.             </div>
  173.             <div class=\"mb-5\">
  174.                 {{ form_widget(requestForm.email) }}
  175.             </div>
  176.             <div class=\"text-center\">
  177.                 <button class=\"btn btn-pink mx-auto\">Créer un nouveau mot de passe</button>
  178.             </div>
  179.             {{ form_end(requestForm) }}
  180.         </div>
  181.     </div>
  182. </main>
  183. {% endblock %}
  184. ""reset_password/request.html.twig""/var/www/dashboard/templates/reset_password/request.html.twig");
  185.     }
  186. }