var/cache/dev/twig/df/df7deb7143eb87ebc96450701678a2ff.php line 44

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_49e8bb9014eaf271f78eef8c0d7d502f 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 "./auth-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->loadTemplate("./auth-base.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éinitialiser 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 3
  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 4
  81.         yield "<!--begin::Form-->
  82. \t\t\t\t\t<div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
  83. \t\t\t\t\t\t<!--begin::Wrapper-->
  84. \t\t\t\t\t\t<div class=\"w-lg-500px p-10\">
  85. \t\t\t\t\t\t\t ";
  86.         // line 8
  87.         $context['_parent'] = $context;
  88.         $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"falsefalsefalse8));
  89.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  90.             // line 9
  91.             yield "\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\">";
  92.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  93.             yield "</div>
  94. \t\t\t\t\t\t\t";
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 11
  100.         yield "\t\t\t\t\t\t\t<!--begin::Form-->
  101. \t\t\t\t\t\t\t";
  102.         // line 12
  103.         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"]);
  104.         yield "
  105. \t\t\t\t\t\t\t\t<!--begin::Heading-->
  106. \t\t\t\t\t\t\t\t<div class=\"text-center mb-10\">
  107. \t\t\t\t\t\t\t\t\t<!--begin::Title-->
  108. \t\t\t\t\t\t\t\t\t<h1 class=\"text-dark fw-bolder mb-3\">";
  109.         // line 16
  110.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Mot de passe oublié ?", [], "messages");
  111.         yield "</h1>
  112. \t\t\t\t\t\t\t\t\t<!--end::Title-->
  113. \t\t\t\t\t\t\t\t\t<!--begin::Link-->
  114. \t\t\t\t\t\t\t\t\t<div class=\"text-gray-500 fw-semibold fs-6\">";
  115.         // line 19
  116.         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"falsefalsefalse19), 'label');
  117.         yield "</div>
  118. \t\t\t\t\t\t\t\t\t<!--end::Link-->
  119. \t\t\t\t\t\t\t\t</div>
  120. \t\t\t\t\t\t\t\t<!--begin::Heading-->
  121. \t\t\t\t\t\t\t\t<!--begin::Input group=-->
  122. \t\t\t\t\t\t\t\t<div class=\"fv-row mb-8\">
  123. \t\t\t\t\t\t\t\t\t<!--begin::Email-->
  124. \t\t\t\t\t\t\t\t\t";
  125.         // line 26
  126.         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"falsefalsefalse26), 'widget', ["attr" => ["class" => "form-control bg-transparent"]]);
  127.         yield "
  128. \t\t\t\t\t\t\t\t\t<div class=\"invalid-feedback d-block\">
  129. \t\t\t\t\t\t\t\t\t\t";
  130.         // line 28
  131.         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"falsefalsefalse28), 'errors');
  132.         yield "
  133. \t\t\t\t\t\t\t\t\t</div>
  134. \t\t\t\t\t\t\t\t\t<!--end::Email-->
  135. \t\t\t\t\t\t\t\t</div>
  136. \t\t\t\t\t\t\t\t<!--begin::Actions-->
  137. \t\t\t\t\t\t\t\t<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  138. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary me-4\">
  139. \t\t\t\t\t\t\t\t\t\t";
  140.         // line 35
  141.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Envoyer", [], "messages");
  142.         // line 36
  143.         yield "\t\t\t\t\t\t\t\t\t</button>
  144. \t\t\t\t\t\t\t\t\t<a href=\"";
  145.         // line 37
  146.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  147.         yield "\" class=\"btn btn-light\">";
  148.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Annuler", [], "messages");
  149.         yield "</a>
  150. \t\t\t\t\t\t\t\t</div>
  151. \t\t\t\t\t\t\t\t<!--end::Actions-->
  152. \t\t\t\t\t\t\t";
  153.         // line 40
  154.         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');
  155.         yield "
  156.     
  157. \t\t\t\t\t\t\t<!--end::Form-->
  158.                         </div>
  159. \t\t\t\t\t\t<!--end::Wrapper-->
  160. \t\t\t\t\t</div>
  161. \t\t\t\t\t<!--end::Form-->
  162. ";
  163.         
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.         yield from [];
  168.     }
  169.     /**
  170.      * @codeCoverageIgnore
  171.      */
  172.     public function getTemplateName(): string
  173.     {
  174.         return "reset_password/request.html.twig";
  175.     }
  176.     /**
  177.      * @codeCoverageIgnore
  178.      */
  179.     public function isTraitable(): bool
  180.     {
  181.         return false;
  182.     }
  183.     /**
  184.      * @codeCoverageIgnore
  185.      */
  186.     public function getDebugInfo(): array
  187.     {
  188.         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,);
  189.     }
  190.     public function getSourceContext(): Source
  191.     {
  192.         return new Source("{% extends './auth-base.html.twig' %}
  193. {% block title %}Réinitialiser mot de passe{% endblock %}
  194. {% block body %}
  195. <!--begin::Form-->
  196. \t\t\t\t\t<div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
  197. \t\t\t\t\t\t<!--begin::Wrapper-->
  198. \t\t\t\t\t\t<div class=\"w-lg-500px p-10\">
  199. \t\t\t\t\t\t\t {% for flash_error in app.flashes('reset_password_error') %}
  200. \t\t\t\t\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  201. \t\t\t\t\t\t\t{% endfor %}
  202. \t\t\t\t\t\t\t<!--begin::Form-->
  203. \t\t\t\t\t\t\t{{ form_start(requestForm, {'attr': {'class': 'form w-100'}, 'method': 'POST'}) }}
  204. \t\t\t\t\t\t\t\t<!--begin::Heading-->
  205. \t\t\t\t\t\t\t\t<div class=\"text-center mb-10\">
  206. \t\t\t\t\t\t\t\t\t<!--begin::Title-->
  207. \t\t\t\t\t\t\t\t\t<h1 class=\"text-dark fw-bolder mb-3\">{% trans %}Mot de passe oublié ?{% endtrans %}</h1>
  208. \t\t\t\t\t\t\t\t\t<!--end::Title-->
  209. \t\t\t\t\t\t\t\t\t<!--begin::Link-->
  210. \t\t\t\t\t\t\t\t\t<div class=\"text-gray-500 fw-semibold fs-6\">{{ form_label(requestForm.email) }}</div>
  211. \t\t\t\t\t\t\t\t\t<!--end::Link-->
  212. \t\t\t\t\t\t\t\t</div>
  213. \t\t\t\t\t\t\t\t<!--begin::Heading-->
  214. \t\t\t\t\t\t\t\t<!--begin::Input group=-->
  215. \t\t\t\t\t\t\t\t<div class=\"fv-row mb-8\">
  216. \t\t\t\t\t\t\t\t\t<!--begin::Email-->
  217. \t\t\t\t\t\t\t\t\t{{form_widget(requestForm.email, {'attr': {'class': 'form-control bg-transparent'}})}}
  218. \t\t\t\t\t\t\t\t\t<div class=\"invalid-feedback d-block\">
  219. \t\t\t\t\t\t\t\t\t\t{{ form_errors(requestForm.email) }}
  220. \t\t\t\t\t\t\t\t\t</div>
  221. \t\t\t\t\t\t\t\t\t<!--end::Email-->
  222. \t\t\t\t\t\t\t\t</div>
  223. \t\t\t\t\t\t\t\t<!--begin::Actions-->
  224. \t\t\t\t\t\t\t\t<div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  225. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary me-4\">
  226. \t\t\t\t\t\t\t\t\t\t{% trans %}Envoyer{% endtrans %}
  227. \t\t\t\t\t\t\t\t\t</button>
  228. \t\t\t\t\t\t\t\t\t<a href=\"{{path('app_login')}}\" class=\"btn btn-light\">{% trans %}Annuler{% endtrans %}</a>
  229. \t\t\t\t\t\t\t\t</div>
  230. \t\t\t\t\t\t\t\t<!--end::Actions-->
  231. \t\t\t\t\t\t\t{{ form_end(requestForm) }}
  232.     
  233. \t\t\t\t\t\t\t<!--end::Form-->
  234.                         </div>
  235. \t\t\t\t\t\t<!--end::Wrapper-->
  236. \t\t\t\t\t</div>
  237. \t\t\t\t\t<!--end::Form-->
  238. {% endblock %} ""reset_password/request.html.twig""/home/forge/artiboxpro.matsu-digital.fr/templates/reset_password/request.html.twig");
  239.     }
  240. }