var/cache/dev/twig/c4/c4675ccfbf86e94099136bc67a54eb27.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_93bde2e8c85ea971a06c9cb8b069f2fb 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.             'bodyclass' => [$this'block_bodyclass'],
  30.             'body' => [$this'block_body'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "security/login.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->load("security/login.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.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         yield from [];
  70.     }
  71.     // line 5
  72.     /**
  73.      * @return iterable<null|scalar|\Stringable>
  74.      */
  75.     public function block_bodyclass(array $context, array $blocks = []): iterable
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyclass"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyclass"));
  82.         yield "class=\"login\"";
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.         yield from [];
  88.     }
  89.     // line 6
  90.     /**
  91.      * @return iterable<null|scalar|\Stringable>
  92.      */
  93.     public function block_body(array $context, array $blocks = []): iterable
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  100.         // line 7
  101.         yield "\t";
  102.         $context['_parent'] = $context;
  103.         $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.'7$this->source); })()), "flashes", ["reset_password_error"], "method"falsefalsefalse7));
  104.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  105.             // line 8
  106.             yield "\t\t<div class=\"alert alert-danger\" role=\"alert\">";
  107.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html"nulltrue);
  108.             yield "</div>
  109. \t";
  110.         }
  111.         $_parent $context['_parent'];
  112.         unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
  113.         $context array_intersect_key($context$_parent) + $_parent;
  114.         // line 10
  115.         yield "\t<div class=\"login_wrapper\">
  116. \t\t<div class=\"form login_form\">
  117. \t\t\t<section class=\"login_content\">
  118. \t\t\t\t<h1>Reset password</h1>
  119. \t\t\t\t";
  120.         // line 14
  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.'14$this->source); })()), 'form_start');
  122.         yield "
  123. \t\t\t\t";
  124.         // line 15
  125.         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.'15$this->source); })()), "email", [], "any"falsefalsefalse15), 'row');
  126.         yield "
  127. \t\t\t\t<div>
  128. \t\t\t\t\t<small>
  129. \t\t\t\t\t\tEnter your email address and we we will send you a
  130. \t\t\t\t\t\t\t\t\t\t\t\t                link to reset your password.
  131. \t\t\t\t\t</small>
  132. \t\t\t\t</div>
  133. \t\t\t\t<button class=\"btn btn-primary\">Send password reset email</button>
  134. \t\t\t\t";
  135.         // line 24
  136.         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.'24$this->source); })()), 'form_end');
  137.         yield "
  138. \t\t\t</section>
  139. \t\t</div>
  140. \t</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 (  161 => 24,  149 => 15,  145 => 14,  139 => 10,  130 => 8,  125 => 7,  112 => 6,  89 => 5,  65 => 3,  42 => 1,);
  168.     }
  169.     public function getSourceContext(): Source
  170.     {
  171.         return new Source("{% extends 'security/login.html.twig' %}
  172. {% block title %}Reset your password
  173. {% endblock %}
  174. {% block bodyclass %}class=\"login\"{% endblock %}
  175. {% block body %}
  176. \t{% for flashError in app.flashes('reset_password_error') %}
  177. \t\t<div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  178. \t{% endfor %}
  179. \t<div class=\"login_wrapper\">
  180. \t\t<div class=\"form login_form\">
  181. \t\t\t<section class=\"login_content\">
  182. \t\t\t\t<h1>Reset password</h1>
  183. \t\t\t\t{{ form_start(requestForm) }}
  184. \t\t\t\t{{ form_row(requestForm.email) }}
  185. \t\t\t\t<div>
  186. \t\t\t\t\t<small>
  187. \t\t\t\t\t\tEnter your email address and we we will send you a
  188. \t\t\t\t\t\t\t\t\t\t\t\t                link to reset your password.
  189. \t\t\t\t\t</small>
  190. \t\t\t\t</div>
  191. \t\t\t\t<button class=\"btn btn-primary\">Send password reset email</button>
  192. \t\t\t\t{{ form_end(requestForm) }}
  193. \t\t\t</section>
  194. \t\t</div>
  195. \t</div>
  196. {% endblock %}
  197. ""reset_password/request.html.twig""/var/www/vhosts/inkylab.com/dev.indepthadmin.inkylab.com/templates/reset_password/request.html.twig");
  198.     }
  199. }