<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* auth/password_forgot.html.twig */
class __TwigTemplate_c673f67314d7223686fc4760e53dedce3f5158af687785476518f670db58cac8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'authHeader' => [$this, 'block_authHeader'],
'authContent' => [$this, 'block_authContent'],
'authFooter' => [$this, 'block_authFooter'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "auth/auth-page.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "auth/password_forgot.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "auth/password_forgot.html.twig"));
// line 3
$macros["button"] = $this->macros["button"] = $this->loadTemplate("macros/button.macro.twig", "auth/password_forgot.html.twig", 3)->unwrap();
// line 1
$this->parent = $this->loadTemplate("auth/auth-page.html.twig", "auth/password_forgot.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_authHeader($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authHeader"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authHeader"));
// line 6
echo " <h1 class=\"text-4xl font-bold uppercase mb-11\">
";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.headline"), "html", null, true);
echo "
</h1>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_authContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authContent"));
// line 12
echo " <h2 class=\"mb-6 text-2xl font-bold uppercase\">
";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.subheadline"), "html", null, true);
echo "
</h2>
";
// line 16
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"]]);
echo "
";
// line 17
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", false, false, false, 17), 'row');
echo "
";
// line 19
$context['_parent'] = $context;
$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", [0 => "error"], "method", false, false, false, 19));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 20
echo " <div class=\"p-2 my-4 border-2 alert alert-error bg-danger-300 border-danger-500\">
";
// line 21
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo "
";
// line 25
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());
// line 31
echo "
";
// line 32
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');
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 35
public function block_authFooter($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authFooter"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "authFooter"));
// line 36
echo " <p>
";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.form.forgot.readytologin"), "html", null, true);
echo "
</p>
<div class=\"flex justify-center gap-10 mt-6\">
";
// line 40
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());
echo "
";
// line 41
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", [0 => "page-faq"], "method", false, false, false, 41)) {
// line 42
echo " ";
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", [0 => "page-faq"], "method", false, false, false, 42), ["size" => "sm"]], 42, $context, $this->getSourceContext());
echo "
";
}
// line 44
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "auth/password_forgot.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'auth/auth-page.html.twig' %}
{% import 'macros/button.macro.twig' as button %}
{% block authHeader %}
<h1 class=\"text-4xl font-bold uppercase mb-11\">
{{ 'auth.form.forgot.headline'|trans }}
</h1>
{% endblock %}
{% block authContent %}
<h2 class=\"mb-6 text-2xl font-bold uppercase\">
{{ 'auth.form.forgot.subheadline'|trans }}
</h2>
{{ form_start(forgotForm, { attr: { 'data-turbo': 'false' } }) }}
{{ form_row(forgotForm.email) }}
{% for message in app.flashes('error') %}
<div class=\"p-2 my-4 border-2 alert alert-error bg-danger-300 border-danger-500\">
{{ message }}
</div>
{% endfor %}
{{
button.submit(
'auth.form.forgot.submit'|trans,
'primary',
{ icon_after: 'arrow-right-tail', attr: { class: 'w-full text-left' } }
)
}}
{{ form_end(forgotForm) }}
{% endblock %}
{% block authFooter %}
<p>
{{ 'auth.form.forgot.readytologin'|trans }}
</p>
<div class=\"flex justify-center gap-10 mt-6\">
{{ button.link('login'|trans, 'neutral', path('auth_login'), { size: 'sm' }) }}
{% if document.property('page-faq') %}
{{ button.link('faq'|trans, 'black', document.property('page-faq'), { size: 'sm' }) }}
{% endif %}
</div>
{% endblock %}
", "auth/password_forgot.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/auth/password_forgot.html.twig");
}
}