var/cache/dev/twig/e0/e05a3d09c4aa405bba5b3ebe7e544e60.php line 53

  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_23b58d60597f53093eba9db4797998d2 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.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.security.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  43.         $this->parent $this->loadTemplate("base.security.html.twig""reset_password/request.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 2
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 3
  62.         yield "    <!--begin::Form-->
  63.     <div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
  64.         <!--begin::Wrapper-->
  65.         <div class=\"w-lg-500px p-10\">
  66.             <!--begin::Form-->
  67.             ";
  68.         // line 8
  69.         $context['_parent'] = $context;
  70.         $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));
  71.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  72.             // line 9
  73.             yield "                <div class=\"alert alert-danger\" role=\"alert\">";
  74.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  75.             yield "</div>
  76.             ";
  77.         }
  78.         $_parent $context['_parent'];
  79.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  80.         $context array_intersect_key($context$_parent) + $_parent;
  81.         // line 11
  82.         yield "            ";
  83.         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', ["attr" => ["class" => "form w-100"]]);
  84.         yield "
  85.             <!--begin::Heading-->
  86.             <div class=\"text-center mb-10\">
  87.                 <!--begin::Title-->
  88.                 <h1 class=\"text-dark fw-bolder mb-3\">Forgot Password ?</h1>
  89.                 <!--end::Title-->
  90.                 <!--begin::Link-->
  91.                 <div class=\"text-gray-500 fw-semibold fs-6\">Enter your email address <br />and we will send you a
  92.                     link to reset your password.</div>
  93.                 <!--end::Link-->
  94.             </div>
  95.             <!--begin::Heading-->
  96.             <!--begin::Input group=-->
  97.             <div class=\"fv-row mb-8\">
  98.                 ";
  99.         // line 28
  100.         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), 'widget', ["attr" => ["class" => "form-control bg-transparent"]]);
  101.         yield "
  102.             </div>
  103.             <!--begin::Actions-->
  104.             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  105.                 <button type=\"submit\" id=\"kt_password_reset_submit\" class=\"btn btn-primary me-4\">
  106.                     <!--begin::Indicator label-->
  107.                     <span class=\"indicator-label\">Submit</span>
  108.                     <!--end::Indicator label-->
  109.                     <!--begin::Indicator progress-->
  110.                     <span class=\"indicator-progress\">Please wait...
  111. \t\t\t\t\t\t\t\t\t\t<span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span></span>
  112.                     <!--end::Indicator progress-->
  113.                 </button>
  114.                 <a href=\"/\" class=\"btn btn-light\">Cancel</a>
  115.             </div>
  116.             <!--end::Actions-->
  117.             ";
  118.         // line 48
  119.         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.'48$this->source); })()), 'form_end');
  120.         yield "
  121.             <!--end::Form-->
  122.         </div>
  123.         <!--end::Wrapper-->
  124.     </div>
  125.     <!--end::Form-->
  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 (  140 => 48,  117 => 28,  96 => 11,  87 => 9,  83 => 8,  76 => 3,  63 => 2,  40 => 1,);
  153.     }
  154.     public function getSourceContext(): Source
  155.     {
  156.         return new Source("{% extends 'base.security.html.twig' %}
  157. {% block body %}
  158.     <!--begin::Form-->
  159.     <div class=\"d-flex flex-center flex-column flex-lg-row-fluid\">
  160.         <!--begin::Wrapper-->
  161.         <div class=\"w-lg-500px p-10\">
  162.             <!--begin::Form-->
  163.             {% for flash_error in app.flashes('reset_password_error') %}
  164.                 <div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  165.             {% endfor %}
  166.             {{ form_start(requestForm, {'attr' : {'class': 'form w-100'}}) }}
  167.             <!--begin::Heading-->
  168.             <div class=\"text-center mb-10\">
  169.                 <!--begin::Title-->
  170.                 <h1 class=\"text-dark fw-bolder mb-3\">Forgot Password ?</h1>
  171.                 <!--end::Title-->
  172.                 <!--begin::Link-->
  173.                 <div class=\"text-gray-500 fw-semibold fs-6\">Enter your email address <br />and we will send you a
  174.                     link to reset your password.</div>
  175.                 <!--end::Link-->
  176.             </div>
  177.             <!--begin::Heading-->
  178.             <!--begin::Input group=-->
  179.             <div class=\"fv-row mb-8\">
  180.                 {{ form_widget(requestForm.email, {'attr': {'class': 'form-control bg-transparent'}}) }}
  181.             </div>
  182.             <!--begin::Actions-->
  183.             <div class=\"d-flex flex-wrap justify-content-center pb-lg-0\">
  184.                 <button type=\"submit\" id=\"kt_password_reset_submit\" class=\"btn btn-primary me-4\">
  185.                     <!--begin::Indicator label-->
  186.                     <span class=\"indicator-label\">Submit</span>
  187.                     <!--end::Indicator label-->
  188.                     <!--begin::Indicator progress-->
  189.                     <span class=\"indicator-progress\">Please wait...
  190. \t\t\t\t\t\t\t\t\t\t<span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span></span>
  191.                     <!--end::Indicator progress-->
  192.                 </button>
  193.                 <a href=\"/\" class=\"btn btn-light\">Cancel</a>
  194.             </div>
  195.             <!--end::Actions-->
  196.             {{ form_end(requestForm) }}
  197.             <!--end::Form-->
  198.         </div>
  199.         <!--end::Wrapper-->
  200.     </div>
  201.     <!--end::Form-->
  202. {% endblock %}""reset_password/request.html.twig""/home/lvb/templates/reset_password/request.html.twig");
  203.     }
  204. }