var/cache/dev/twig/fc/fc038342dc823c21db2239863b72cfac.php line 90

  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_136cef5883d826f57f7ef0a3cf38d96d 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 "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->load("base.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 "Reset your password";
  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 "    <div class=\"w-full pt-16\">
  82.         <div class=\"w-full max-w-screen-2xl pt-16 mx-auto px-6\">
  83.             <h1 class=\"md:text-4xl text-3xl font-bold text-gray-800 text-center\">
  84.                 Reset your password
  85.             </h1>
  86.             <p class=\"text-lg text-gray-800 text-center my-5\">
  87.                Receive a reset password link via your registered email.
  88.             </p>
  89.         </div>
  90.         ";
  91.         // line 16
  92.         $context['_parent'] = $context;
  93.         $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));
  94.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  95.             // line 17
  96.             yield "            <div class=\"alert alert-danger\" role=\"alert\">";
  97.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html"nulltrue);
  98.             yield "</div>
  99.         ";
  100.         }
  101.         $_parent $context['_parent'];
  102.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  103.         $context array_intersect_key($context$_parent) + $_parent;
  104.         // line 19
  105.         yield "        <div class=\"w-full max-w-lg mx-auto my-5 py-5\">
  106.         ";
  107.         // line 20
  108.         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');
  109.         yield "
  110.             ";
  111.         // line 22
  112.         yield "            <input class=\"mt-2 w-full rounded-lg border focus:border-brand focus:outline-none focus:ring-brand border-gray-300 p-3 text-sm disabled:cursor-not-allowed\" 
  113.             type=\"email\" name=\"";
  114.         // line 23
  115.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldName(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.'23$this->source); })()), "email", [], "any"falsefalsefalse23)), "html"nulltrue);
  116.         yield "\">
  117.                 
  118.             <div class=\"my-5\">
  119.                 <small> Enter your registered email address to receive the reset password link. If you dont received contact info@onld.co.uk</small>
  120.             </div>
  121.             <button class=\"bg-brand
  122.               hover:bg-transparent
  123.               border
  124.               border-brand
  125.               transition-all
  126.               duration-300
  127.               py-3
  128.               px-5
  129.               rounded-xl
  130.               text-base
  131.               font-semibold
  132.               leading-6
  133.               text-white
  134.               hover:text-brand
  135.               w-full
  136.               text-center
  137.               lg:mt-0
  138.               mt-auto
  139.               lg:mb-0
  140.               mb-4
  141.             \">Reset Password</button>
  142.         ";
  143.         // line 50
  144.         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.'50$this->source); })()), 'form_end');
  145.         yield "
  146.     </div>
  147.     </div>
  148. ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         yield from [];
  154.     }
  155.     /**
  156.      * @codeCoverageIgnore
  157.      */
  158.     public function getTemplateName(): string
  159.     {
  160.         return "reset_password/request.html.twig";
  161.     }
  162.     /**
  163.      * @codeCoverageIgnore
  164.      */
  165.     public function isTraitable(): bool
  166.     {
  167.         return false;
  168.     }
  169.     /**
  170.      * @codeCoverageIgnore
  171.      */
  172.     public function getDebugInfo(): array
  173.     {
  174.         return array (  165 => 50,  135 => 23,  132 => 22,  128 => 20,  125 => 19,  116 => 17,  112 => 16,  100 => 6,  87 => 5,  64 => 3,  41 => 1,);
  175.     }
  176.     public function getSourceContext(): Source
  177.     {
  178.         return new Source("{% extends 'base.html.twig' %}
  179. {% block title %}Reset your password{% endblock %}
  180. {% block body %}
  181.     <div class=\"w-full pt-16\">
  182.         <div class=\"w-full max-w-screen-2xl pt-16 mx-auto px-6\">
  183.             <h1 class=\"md:text-4xl text-3xl font-bold text-gray-800 text-center\">
  184.                 Reset your password
  185.             </h1>
  186.             <p class=\"text-lg text-gray-800 text-center my-5\">
  187.                Receive a reset password link via your registered email.
  188.             </p>
  189.         </div>
  190.         {% for flash_error in app.flashes('reset_password_error') %}
  191.             <div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
  192.         {% endfor %}
  193.         <div class=\"w-full max-w-lg mx-auto my-5 py-5\">
  194.         {{ form_start(requestForm) }}
  195.             {# {{ form_row(requestForm.email) }} #}
  196.             <input class=\"mt-2 w-full rounded-lg border focus:border-brand focus:outline-none focus:ring-brand border-gray-300 p-3 text-sm disabled:cursor-not-allowed\" 
  197.             type=\"email\" name=\"{{ field_name(requestForm.email) }}\">
  198.                 
  199.             <div class=\"my-5\">
  200.                 <small> Enter your registered email address to receive the reset password link. If you dont received contact info@onld.co.uk</small>
  201.             </div>
  202.             <button class=\"bg-brand
  203.               hover:bg-transparent
  204.               border
  205.               border-brand
  206.               transition-all
  207.               duration-300
  208.               py-3
  209.               px-5
  210.               rounded-xl
  211.               text-base
  212.               font-semibold
  213.               leading-6
  214.               text-white
  215.               hover:text-brand
  216.               w-full
  217.               text-center
  218.               lg:mt-0
  219.               mt-auto
  220.               lg:mb-0
  221.               mb-4
  222.             \">Reset Password</button>
  223.         {{ form_end(requestForm) }}
  224.     </div>
  225.     </div>
  226. {% endblock %}
  227. ""reset_password/request.html.twig""/home/u642250512/domains/demo.onld.co.uk/public_html/templates/reset_password/request.html.twig");
  228.     }
  229. }