var/cache/dev/twig/00/005e64b28d0bbbf37f626e77c38f1fae.php line 45

  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_7e72e21187530c00fafb4fd1287749a4 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.             'meta_description' => [$this'block_meta_description'],
  30.             'body' => [$this'block_body'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""/reset_password/request.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""/reset_password/request.html.twig"));
  45.         $this->parent $this->loadTemplate("base.html.twig""/reset_password/request.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_title(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         yield "Reset your password";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         yield from [];
  69.     }
  70.     // line 4
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_meta_description(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  81.         yield "Reset your password.";
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.         yield from [];
  87.     }
  88.     // line 6
  89.     /**
  90.      * @return iterable<null|scalar|\Stringable>
  91.      */
  92.     public function block_body(array $context, array $blocks = []): iterable
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  99.         // line 7
  100.         yield "
  101.     <div class=\"content\">
  102.         <div class=\"flex flex-col items-center justify-center px-6 py-16 mx-auto\">
  103.             <div class=\"w-full bg-gray-50 rounded-lg shadow md:mt-0 sm:max-w-xl xl:p-0 py-6\">
  104.                 <div class=\"p-6 space-y-4 md:space-y-6 sm:p-8\">
  105.                     <h1 class=\"text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl\">
  106.                         Reset your password
  107.                     </h1>
  108.                     ";
  109.         // line 16
  110.         $context['_parent'] = $context;
  111.         $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.'16$this->source); })()), "flashes", ["reset_password_error"], "method"falsefalsefalse16));
  112.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  113.             // line 17
  114.             yield "                        <div class=\"alert alert-danger\" role=\"alert\">";
  115.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  116.             yield "</div>
  117.                     ";
  118.         }
  119.         $_parent $context['_parent'];
  120.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  121.         $context array_intersect_key($context$_parent) + $_parent;
  122.         // line 19
  123.         yield "
  124.                     ";
  125.         // line 20
  126.         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.'20$this->source); })()), 'form_start');
  127.         yield "
  128.                     ";
  129.         // line 21
  130.         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), 'row');
  131.         yield "
  132.                     <button class=\"button-blue\">Send password reset email</button>
  133.                     ";
  134.         // line 23
  135.         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.'23$this->source); })()), 'form_end');
  136.         yield "
  137.                 </div>
  138.             </div>
  139.         </div>
  140.     </div>
  141. ";
  142.         
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  144.         
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  146.         yield from [];
  147.     }
  148.     /**
  149.      * @codeCoverageIgnore
  150.      */
  151.     public function getTemplateName(): string
  152.     {
  153.         return "/reset_password/request.html.twig";
  154.     }
  155.     /**
  156.      * @codeCoverageIgnore
  157.      */
  158.     public function isTraitable(): bool
  159.     {
  160.         return false;
  161.     }
  162.     /**
  163.      * @codeCoverageIgnore
  164.      */
  165.     public function getDebugInfo(): array
  166.     {
  167.         return array (  160 => 23,  155 => 21,  151 => 20,  148 => 19,  139 => 17,  135 => 16,  124 => 7,  111 => 6,  88 => 4,  65 => 3,  42 => 1,);
  168.     }
  169.     public function getSourceContext(): Source
  170.     {
  171.         return new Source("{% extends 'base.html.twig' %}
  172. {% block title %}Reset your password{% endblock %}
  173. {% block meta_description %}Reset your password.{% endblock %}
  174. {% block body %}
  175.     <div class=\"content\">
  176.         <div class=\"flex flex-col items-center justify-center px-6 py-16 mx-auto\">
  177.             <div class=\"w-full bg-gray-50 rounded-lg shadow md:mt-0 sm:max-w-xl xl:p-0 py-6\">
  178.                 <div class=\"p-6 space-y-4 md:space-y-6 sm:p-8\">
  179.                     <h1 class=\"text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl\">
  180.                         Reset your password
  181.                     </h1>
  182.                     {% for flash_error in app.flashes('reset_password_error') %}
  183.                         <div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  184.                     {% endfor %}
  185.                     {{ form_start(requestForm) }}
  186.                     {{ form_row(requestForm.email) }}
  187.                     <button class=\"button-blue\">Send password reset email</button>
  188.                     {{ form_end(requestForm) }}
  189.                 </div>
  190.             </div>
  191.         </div>
  192.     </div>
  193. {% endblock %}
  194. ""/reset_password/request.html.twig""/home/glcommissions/staging/source/templates/reset_password/request.html.twig");
  195.     }
  196. }