<?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;
/* @admin/account/forgot_password/index.html.twig */
class __TwigTemplate_c39191f3865ac14440bd2d1f3a8374e2 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
{
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 "@ibexadesign/account/base.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", "@admin/account/forgot_password/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/forgot_password/index.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form_forgot_user_password"]) || array_key_exists("form_forgot_user_password", $context) ? $context["form_forgot_user_password"] : (function () { throw new RuntimeError('Variable "form_forgot_user_password" does not exist.', 3, $this->source); })()), ["@ibexadesign/account/form_fields.html.twig"], true);
// line 1
$this->parent = $this->load("@ibexadesign/account/base.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 5
/**
* @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 6
yield "<a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
yield "\" class=\"btn ibexa-btn ibexa-btn--ghost ibexa-login__btn--back\">
<svg class=\"ibexa-icon ibexa-icon--small-medium\">
<use xlink:href=\"";
// line 8
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("back");
yield "\"></use>
</svg>
<span class=\"ibexa-btn__label\">";
// line 10
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.reset_your_password.back") == "authentication.reset_your_password.back")) ? ("Back") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.reset_your_password.back"), "html", null, true)));
yield "
</a>
<h2 class=\"ibexa-login__actions-headline\">";
// line 12
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.reset_your_password") == "authentication.reset_your_password")) ? ("Reset your password") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.reset_your_password"), "html", null, true)));
yield "</h2>
";
// line 13
if (((isset($context["reason"]) || array_key_exists("reason", $context) ? $context["reason"] : (function () { throw new RuntimeError('Variable "reason" does not exist.', 13, $this->source); })()) == (isset($context["userForgotPasswordReasonMigration"]) || array_key_exists("userForgotPasswordReasonMigration", $context) ? $context["userForgotPasswordReasonMigration"] : (function () { throw new RuntimeError('Variable "userForgotPasswordReasonMigration" does not exist.', 13, $this->source); })()))) {
// line 14
yield " <p>";
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ezplatform.forgot_password.reset_your_password.reason.migration") == "ezplatform.forgot_password.reset_your_password.reason.migration")) ? ("Your password has expired, change it.") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ezplatform.forgot_password.reset_your_password.reason.migration"), "html", null, true)));
yield "</p>
";
}
// line 16
yield " ";
if (array_key_exists("form_forgot_user_password", $context)) {
// line 17
yield " ";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form_forgot_user_password"]) || array_key_exists("form_forgot_user_password", $context) ? $context["form_forgot_user_password"] : (function () { throw new RuntimeError('Variable "form_forgot_user_password" does not exist.', 17, $this->source); })()), 'form_start', ["attr" => ["class" => "ibexa-form-validate ibexa-login__forgot-password-form"]]);
yield "
<fieldset>
";
// line 19
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["form_forgot_user_password"]) || array_key_exists("form_forgot_user_password", $context) ? $context["form_forgot_user_password"] : (function () { throw new RuntimeError('Variable "form_forgot_user_password" does not exist.', 19, $this->source); })()), "email", [], "any", false, false, false, 19), 'row', ["attr" => ["class" => "form-control ibexa-input ibexa-input--text ibexa-login__input"]]);
yield "
</fieldset>
";
// line 21
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["form_forgot_user_password"]) || array_key_exists("form_forgot_user_password", $context) ? $context["form_forgot_user_password"] : (function () { throw new RuntimeError('Variable "form_forgot_user_password" does not exist.', 21, $this->source); })()), "reset", [], "any", false, false, false, 21), 'widget', ["attr" => ["class" => "btn ibexa-btn ibexa-btn--primary ibexa-login__btn--reset-password"]]);
yield "
";
// line 23
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form_forgot_user_password"]) || array_key_exists("form_forgot_user_password", $context) ? $context["form_forgot_user_password"] : (function () { throw new RuntimeError('Variable "form_forgot_user_password" does not exist.', 23, $this->source); })()), 'form_end');
yield "
";
}
// line 25
yield "
";
// line 26
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("ibexa-admin-ui-reset-password-js", null, "ibexa");
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/account/forgot_password/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 134 => 26, 131 => 25, 126 => 23, 121 => 21, 116 => 19, 110 => 17, 107 => 16, 101 => 14, 99 => 13, 95 => 12, 90 => 10, 85 => 8, 79 => 6, 66 => 5, 55 => 1, 53 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@ibexadesign/account/base.html.twig' %}
{% form_theme form_forgot_user_password '@ibexadesign/account/form_fields.html.twig' %}
{%- block content -%}
<a href=\"{{ path('login') }}\" class=\"btn ibexa-btn ibexa-btn--ghost ibexa-login__btn--back\">
<svg class=\"ibexa-icon ibexa-icon--small-medium\">
<use xlink:href=\"{{ ibexa_icon_path('back') }}\"></use>
</svg>
<span class=\"ibexa-btn__label\">{{ 'authentication.reset_your_password.back'|trans|desc('Back') }}
</a>
<h2 class=\"ibexa-login__actions-headline\">{{ 'authentication.reset_your_password'|trans|desc('Reset your password') }}</h2>
{% if reason == userForgotPasswordReasonMigration %}
<p>{{ 'ezplatform.forgot_password.reset_your_password.reason.migration'|trans|desc('Your password has expired, change it.') }}</p>
{% endif %}
{% if form_forgot_user_password is defined %}
{{ form_start(form_forgot_user_password, {'attr': {'class': 'ibexa-form-validate ibexa-login__forgot-password-form'}}) }}
<fieldset>
{{ form_row(form_forgot_user_password.email, {'attr': {'class': 'form-control ibexa-input ibexa-input--text ibexa-login__input'}}) }}
</fieldset>
{{ form_widget(form_forgot_user_password.reset, {'attr': {'class': 'btn ibexa-btn ibexa-btn--primary ibexa-login__btn--reset-password'}}) }}
{{ form_end(form_forgot_user_password) }}
{% endif %}
{{ encore_entry_script_tags('ibexa-admin-ui-reset-password-js', null, 'ibexa') }}
{%- endblock content -%}
", "@admin/account/forgot_password/index.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/forgot_password/index.html.twig");
}
}