<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* pages/account/resetPassword.html.twig */
class __TwigTemplate_a787418715da924dbe02aa8822bd35d1 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layouts/common/default.html.twig";
}
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", "pages/account/resetPassword.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/account/resetPassword.html.twig"));
// line 3
$context["pageAttributes"] = ((array_key_exists("pageAttributes", $context)) ? ((isset($context["pageAttributes"]) || array_key_exists("pageAttributes", $context) ? $context["pageAttributes"] : (function () { throw new RuntimeError('Variable "pageAttributes" does not exist.', 3, $this->source); })())) : (["group" => "common", "section" => "sim"]));
// line 4
$context["page_title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.reset_password");
// line 1
$this->parent = $this->load("layouts/common/default.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
yield "<form class=\"is-AccountForm\" method=\"post\" name=\"phoneCode\">
<div class=\"is-row\">
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-push-2 is-col-md-8 is-col-lg-push-3 is-col-lg-6\">
<h1 class=\"is-H1\">";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.enter_email"), "html", null, true);
yield "</h1>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 11, $this->source); })()), "session", [], "any", false, false, false, 11), "flashbag", [], "any", false, false, false, 11), "all", [], "any", false, false, false, 11));
foreach ($context['_seq'] as $context["type"] => $context["flashes"]) {
// line 12
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["flashes"]);
foreach ($context['_seq'] as $context["_key"] => $context["flash"]) {
// line 13
yield " <p class=\"is-Alert is-Alert_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $context["type"]), "html", null, true);
yield " is-Alert_Dismissible is-show\" role=\"alert\">
";
// line 14
yield $context["flash"];
yield "
</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flash'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['type'], $context['flashes'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
yield " <div class=\"is-Field is-row\">
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-4 is-col-lg-3\">
<label class=\"is-Label\" for=\"is-ResetForm-Email\">";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.email"), "html", null, true);
yield "<span class=\"is-LabelledInput-Label_Required\">*</span></label>
</div>
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-8 is-col-lg-9\">
<input class=\"is-Input\" id=\"is-ResetForm-Email\" name=\"email\" required=\"true\" type=\"text\" value=\"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["email"]) || array_key_exists("email", $context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.', 23, $this->source); })()), "html", null, true);
yield "\"/>
</div>
</div>
<div class=\"is-row\">
<div class=\"is-col-xs-push-0 is-col-xs-12 is-col-sm-push-0 is-col-sm-12 is-col-md-push-4 is-col-md-8 is-col-lg-push-3 is-col-lg-9\">
<button class=\"is-Button is-Button_Primary is-full-width\" type=\"submit\" id=\"send\">";
// line 29
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.send"), "html", null, true);
yield "</button>
</div>
</div>
<br/>
<div class=\"is-row\">
<div class=\"is-col-xs-push-0 is-col-xs-12 is-col-sm-push-0 is-col-sm-12 is-col-md-push-4 is-col-md-8 is-col-lg-push-3 is-col-lg-9\">
<a href=\"";
// line 35
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("go_home"), "html", null, true);
yield "</a>
</div>
</div>
</div>
</div>
</form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/account/resetPassword.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 147 => 35, 138 => 29, 129 => 23, 123 => 20, 119 => 18, 113 => 17, 104 => 14, 99 => 13, 94 => 12, 90 => 11, 86 => 10, 81 => 7, 68 => 6, 57 => 1, 55 => 4, 53 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'layouts/common/default.html.twig' %}
{% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'common', section: 'sim' } %}
{% set page_title = 'user.reset_password'|trans %}
{% block content %}
<form class=\"is-AccountForm\" method=\"post\" name=\"phoneCode\">
<div class=\"is-row\">
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-push-2 is-col-md-8 is-col-lg-push-3 is-col-lg-6\">
<h1 class=\"is-H1\">{{ \"user.enter_email\"|trans }}</h1>
{% for type, flashes in app.session.flashbag.all %}
{% for flash in flashes %}
<p class=\"is-Alert is-Alert_{{ type|capitalize }} is-Alert_Dismissible is-show\" role=\"alert\">
{{ flash | raw }}
</p>
{% endfor %}
{% endfor %}
<div class=\"is-Field is-row\">
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-4 is-col-lg-3\">
<label class=\"is-Label\" for=\"is-ResetForm-Email\">{{ 'user.email' | trans }}<span class=\"is-LabelledInput-Label_Required\">*</span></label>
</div>
<div class=\"is-col-xs-12 is-col-sm-12 is-col-md-8 is-col-lg-9\">
<input class=\"is-Input\" id=\"is-ResetForm-Email\" name=\"email\" required=\"true\" type=\"text\" value=\"{{ email }}\"/>
</div>
</div>
<div class=\"is-row\">
<div class=\"is-col-xs-push-0 is-col-xs-12 is-col-sm-push-0 is-col-sm-12 is-col-md-push-4 is-col-md-8 is-col-lg-push-3 is-col-lg-9\">
<button class=\"is-Button is-Button_Primary is-full-width\" type=\"submit\" id=\"send\">{{ 'user.send' | trans }}</button>
</div>
</div>
<br/>
<div class=\"is-row\">
<div class=\"is-col-xs-push-0 is-col-xs-12 is-col-sm-push-0 is-col-sm-12 is-col-md-push-4 is-col-md-8 is-col-lg-push-3 is-col-lg-9\">
<a href=\"{{ path('homepage') }}\">{{ 'go_home' | trans }}</a>
</div>
</div>
</div>
</div>
</form>
{% endblock %}
", "pages/account/resetPassword.html.twig", "/var/www/html/templates/pages/account/resetPassword.html.twig");
}
}