<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* security/reset_password/_form_forget_pwd.html.twig */
class __TwigTemplate_6a92b4b086e71620be99af084f245c0b extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/reset_password/_form_forget_pwd.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/reset_password/_form_forget_pwd.html.twig"));
// line 1
yield " ";
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
// line 2
yield " <div class=\"alert alert-danger \" role=\"alert\">";
yield (string) $this->escaper->escape($context["flash_error"], "html", null, true);
yield "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 4
yield " ";
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');
yield "
<div class=\"text-center\">
";
// line 6
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.ForgotPassword.Alert.InfoEnterEmailAdressAndSendEmailWithLink", [], "messages_front"), "html", null, true);
yield "
</div>
<div class=\"form-group\">
";
// line 9
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');
yield "
</div>
<div class=\"common_form_submit\">
<button class=\"btn btn_theme btn_md\">";
// line 12
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.ForgotPassword.Buttons.Send", [], "messages_front"), "html", null, true);
yield "</button>
</div>
";
// line 14
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');
yield "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "security/reset_password/_form_forget_pwd.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 91 => 14, 86 => 12, 80 => 9, 74 => 6, 68 => 4, 58 => 2, 53 => 1,);
}
public function getSourceContext(): Source
{
return new Source(" {% for flash_error in app.flashes(\x27reset_password_error\x27) %}
<div class=\"alert alert-danger \" role=\"alert\">{{ flash_error }}</div>
{% endfor %}
{{ form_start(requestForm) }}
<div class=\"text-center\">
{{ \x27Pages.ForgotPassword.Alert.InfoEnterEmailAdressAndSendEmailWithLink\x27|trans({}, \x27messages_front\x27) }}
</div>
<div class=\"form-group\">
{{ form_row(requestForm.email) }}
</div>
<div class=\"common_form_submit\">
<button class=\"btn btn_theme btn_md\">{{ \x27Pages.ForgotPassword.Buttons.Send\x27|trans({}, \x27messages_front\x27) }}</button>
</div>
{{ form_end(requestForm) }}
", "security/reset_password/_form_forget_pwd.html.twig", "/home/sunazur/public_html/templates/security/reset_password/_form_forget_pwd.html.twig");
}
}