var/cache/dev/twig/66/6674331493fa7217887717f5a2d250eb.php line 69

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* security/reset_password/_form_forget_pwd.html.twig */
  18. class __TwigTemplate_6a92b4b086e71620be99af084f245c0b extends Template
  19. {
  20.     private Source $source;
  21.     /**
  22.      * @var array<string, MacroNamespace>
  23.      */
  24.     private array $macros = [];
  25.     private \Twig\Runtime\EscaperRuntime $escaper;
  26.     public function __construct(Environment $env)
  27.     {
  28.         parent::__construct($env);
  29.         $this->source = $this->getSourceContext();
  30.         $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31.         $this->parent = false;
  32.         $this->blocks = [
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = []): iterable
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/reset_password/_form_forget_pwd.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/reset_password/_form_forget_pwd.html.twig"));
  42.         // line 1
  43.         yield "    ";
  44.         $context['_parent'] = $context;
  45.         $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.', 1, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 1));
  46.         foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
  47.             // line 2
  48.             yield "        <div class=\"alert alert-danger \" role=\"alert\">";
  49.             yield (string) $this->escaper->escape($context["flash_error"], "html", null, true);
  50.             yield "</div>
  51.     ";
  52.         }
  53.         $_parent = $context['_parent'];
  54.         unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
  55.         $context = array_intersect_key($context, $_parent);
  56.         $context += $_parent;
  57.         // line 4
  58.         yield "    ";
  59.         yield (string)         $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.', 4, $this->source); })()), 'form_start');
  60.         yield "
  61.     <div class=\"text-center\">
  62.         ";
  63.         // line 6
  64.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.ForgotPassword.Alert.InfoEnterEmailAdressAndSendEmailWithLink", [], "messages_front"), "html", null, true);
  65.         yield "
  66.     </div>
  67.     <div class=\"form-group\">
  68.         ";
  69.         // line 9
  70.         yield (string) $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.', 9, $this->source); })()), "email", [], "any", false, false, false, 9), 'row');
  71.         yield "
  72.     </div>
  73.     <div class=\"common_form_submit\">
  74.         <button class=\"btn btn_theme btn_md\">";
  75.         // line 12
  76.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.ForgotPassword.Buttons.Send", [], "messages_front"), "html", null, true);
  77.         yield "</button>
  78.     </div>
  79.     ";
  80.         // line 14
  81.         yield (string)         $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_end');
  82.         yield "
  83. ";
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         return; yield;
  89.     }
  90.     /**
  91.      * @codeCoverageIgnore
  92.      */
  93.     public function getTemplateName(): string
  94.     {
  95.         return "security/reset_password/_form_forget_pwd.html.twig";
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function isTraitable(): bool
  101.     {
  102.         return false;
  103.     }
  104.     /**
  105.      * @codeCoverageIgnore
  106.      */
  107.     public function getDefaultEscapeStrategy(): string|false
  108.     {
  109.         return "html";
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function getDebugInfo(): array
  115.     {
  116.         return array (  91 => 14,  86 => 12,  80 => 9,  74 => 6,  68 => 4,  58 => 2,  53 => 1,);
  117.     }
  118.     public function getSourceContext(): Source
  119.     {
  120.         return new Source("    {% for flash_error in app.flashes(\x27reset_password_error\x27) %}
  121.         <div class=\"alert alert-danger \" role=\"alert\">{{ flash_error }}</div>
  122.     {% endfor %}
  123.     {{ form_start(requestForm) }}
  124.     <div class=\"text-center\">
  125.         {{ \x27Pages.ForgotPassword.Alert.InfoEnterEmailAdressAndSendEmailWithLink\x27|trans({}, \x27messages_front\x27) }}
  126.     </div>
  127.     <div class=\"form-group\">
  128.         {{ form_row(requestForm.email) }}
  129.     </div>
  130.     <div class=\"common_form_submit\">
  131.         <button class=\"btn btn_theme btn_md\">{{ \x27Pages.ForgotPassword.Buttons.Send\x27|trans({}, \x27messages_front\x27) }}</button>
  132.     </div>
  133.     {{ form_end(requestForm) }}
  134. ", "security/reset_password/_form_forget_pwd.html.twig", "/home/sunazur/public_html/templates/security/reset_password/_form_forget_pwd.html.twig");
  135.     }
  136. }