var/cache/dev/twig/1a/1a3ceb7f20f6dc945746195acf29aa29e8ad640769e3a4bb89787d00f84f585f.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* auth/password_forgot.html.twig */
  14. class __TwigTemplate_c673f67314d7223686fc4760e53dedce3f5158af687785476518f670db58cac8 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'authHeader' => [$this'block_authHeader'],
  24.             'authContent' => [$this'block_authContent'],
  25.             'authFooter' => [$this'block_authFooter'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "auth/auth-page.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/password_forgot.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/password_forgot.html.twig"));
  40.         // line 3
  41.         $macros["button"] = $this->macros["button"] = $this->loadTemplate("macros/button.macro.twig""auth/password_forgot.html.twig"3)->unwrap();
  42.         // line 1
  43.         $this->parent $this->loadTemplate("auth/auth-page.html.twig""auth/password_forgot.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 5
  51.     public function block_authHeader($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authHeader"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authHeader"));
  58.         // line 6
  59.         echo "  <h1 class=\"text-4xl font-bold uppercase mb-11\">
  60.     ";
  61.         // line 7
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.headline"), "html"nulltrue);
  63.         echo "
  64.   </h1>
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 11
  72.     public function block_authContent($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authContent"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authContent"));
  79.         // line 12
  80.         echo "  <h2 class=\"mb-6 text-2xl font-bold uppercase\">
  81.     ";
  82.         // line 13
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.subheadline"), "html"nulltrue);
  84.         echo "
  85.   </h2>
  86.   ";
  87.         // line 16
  88.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["forgotForm"]) || array_key_exists("forgotForm"$context) ? $context["forgotForm"] : (function () { throw new RuntimeError('Variable "forgotForm" does not exist.'16$this->source); })()), 'form_start', ["attr" => ["data-turbo" => "false"]]);
  89.         echo "
  90.   ";
  91.         // line 17
  92.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["forgotForm"]) || array_key_exists("forgotForm"$context) ? $context["forgotForm"] : (function () { throw new RuntimeError('Variable "forgotForm" does not exist.'17$this->source); })()), "email", [], "any"falsefalsefalse17), 'row');
  93.         echo "
  94.   ";
  95.         // line 19
  96.         $context['_parent'] = $context;
  97.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "flashes", [=> "error"], "method"falsefalsefalse19));
  98.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  99.             // line 20
  100.             echo "    <div class=\"p-2 my-4 border-2 alert alert-error bg-danger-300 border-danger-500\">
  101.       ";
  102.             // line 21
  103.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  104.             echo "
  105.     </div>
  106.   ";
  107.         }
  108.         $_parent $context['_parent'];
  109.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  110.         $context array_intersect_key($context$_parent) + $_parent;
  111.         // line 24
  112.         echo "
  113.   ";
  114.         // line 25
  115.         echo twig_call_macro($macros["button"], "macro_submit", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.submit"), "primary", ["icon_after" => "arrow-right-tail""attr" => ["class" => "w-full text-left"]]], 26$context$this->getSourceContext());
  116.         // line 31
  117.         echo "
  118.   ";
  119.         // line 32
  120.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["forgotForm"]) || array_key_exists("forgotForm"$context) ? $context["forgotForm"] : (function () { throw new RuntimeError('Variable "forgotForm" does not exist.'32$this->source); })()), 'form_end');
  121.         echo "
  122. ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     // line 35
  129.     public function block_authFooter($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authFooter"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""authFooter"));
  136.         // line 36
  137.         echo "  <p>
  138.     ";
  139.         // line 37
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.readytologin"), "html"nulltrue);
  141.         echo "
  142.   </p>
  143.   <div class=\"flex justify-center gap-10 mt-6\">
  144.     ";
  145.         // line 40
  146.         echo twig_call_macro($macros["button"], "macro_link", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login"), "neutral"$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("auth_login"), ["size" => "sm"]], 40$context$this->getSourceContext());
  147.         echo "
  148.     ";
  149.         // line 41
  150.         if (twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'41$this->source); })()), "property", [=> "page-faq"], "method"falsefalsefalse41)) {
  151.             // line 42
  152.             echo "      ";
  153.             echo twig_call_macro($macros["button"], "macro_link", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("faq"), "black"twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'42$this->source); })()), "property", [=> "page-faq"], "method"falsefalsefalse42), ["size" => "sm"]], 42$context$this->getSourceContext());
  154.             echo "
  155.     ";
  156.         }
  157.         // line 44
  158.         echo "  </div>
  159. ";
  160.         
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  162.         
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  164.     }
  165.     public function getTemplateName()
  166.     {
  167.         return "auth/password_forgot.html.twig";
  168.     }
  169.     public function isTraitable()
  170.     {
  171.         return false;
  172.     }
  173.     public function getDebugInfo()
  174.     {
  175.         return array (  184 => 44,  178 => 42,  176 => 41,  172 => 40,  166 => 37,  163 => 36,  153 => 35,  141 => 32,  138 => 31,  136 => 25,  133 => 24,  124 => 21,  121 => 20,  117 => 19,  112 => 17,  108 => 16,  102 => 13,  99 => 12,  89 => 11,  76 => 7,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  176.     }
  177.     public function getSourceContext()
  178.     {
  179.         return new Source("{% extends 'auth/auth-page.html.twig' %}
  180. {% import 'macros/button.macro.twig' as button %}
  181. {% block authHeader %}
  182.   <h1 class=\"text-4xl font-bold uppercase mb-11\">
  183.     {{ 'auth.form.forgot.headline'|trans }}
  184.   </h1>
  185. {% endblock %}
  186. {% block authContent %}
  187.   <h2 class=\"mb-6 text-2xl font-bold uppercase\">
  188.     {{ 'auth.form.forgot.subheadline'|trans }}
  189.   </h2>
  190.   {{ form_start(forgotForm, { attr: { 'data-turbo': 'false' } }) }}
  191.   {{ form_row(forgotForm.email) }}
  192.   {% for message in app.flashes('error') %}
  193.     <div class=\"p-2 my-4 border-2 alert alert-error bg-danger-300 border-danger-500\">
  194.       {{ message }}
  195.     </div>
  196.   {% endfor %}
  197.   {{
  198.     button.submit(
  199.       'auth.form.forgot.submit'|trans,
  200.       'primary',
  201.       { icon_after: 'arrow-right-tail', attr: { class: 'w-full text-left' } }
  202.     )
  203.   }}
  204.   {{ form_end(forgotForm) }}
  205. {% endblock %}
  206. {% block authFooter %}
  207.   <p>
  208.     {{ 'auth.form.forgot.readytologin'|trans }}
  209.   </p>
  210.   <div class=\"flex justify-center gap-10 mt-6\">
  211.     {{ button.link('login'|trans, 'neutral', path('auth_login'), { size: 'sm' }) }}
  212.     {% if document.property('page-faq') %}
  213.       {{ button.link('faq'|trans, 'black', document.property('page-faq'), { size: 'sm' }) }}
  214.     {% endif %}
  215.   </div>
  216. {% endblock %}
  217. ""auth/password_forgot.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/auth/password_forgot.html.twig");
  218.     }
  219. }