var/cache/dev/twig/aa/aa3e029f74610b732ff07d419c1f99a3.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @admin/account/forgot_password/index.html.twig */
  16. class __TwigTemplate_c39191f3865ac14440bd2d1f3a8374e2 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'content' => [$this, 'block_content'],
  29. ];
  30. }
  31. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32. {
  33. // line 1
  34. return "@ibexadesign/account/base.html.twig";
  35. }
  36. protected function doDisplay(array $context, array $blocks = []): iterable
  37. {
  38. $macros = $this->macros;
  39. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/forgot_password/index.html.twig"));
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/forgot_password/index.html.twig"));
  43. // line 3
  44. $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);
  45. // line 1
  46. $this->parent = $this->load("@ibexadesign/account/base.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 5
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_content(array $context, array $blocks = []): iterable
  56. {
  57. $macros = $this->macros;
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  62. // line 6
  63. yield "<a href=\"";
  64. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  65. yield "\" class=\"btn ibexa-btn ibexa-btn--ghost ibexa-login__btn--back\">
  66. <svg class=\"ibexa-icon ibexa-icon--small-medium\">
  67. <use xlink:href=\"";
  68. // line 8
  69. yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("back");
  70. yield "\"></use>
  71. </svg>
  72. <span class=\"ibexa-btn__label\">";
  73. // line 10
  74. 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)));
  75. yield "
  76. </a>
  77. <h2 class=\"ibexa-login__actions-headline\">";
  78. // line 12
  79. 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)));
  80. yield "</h2>
  81. ";
  82. // line 13
  83. 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); })()))) {
  84. // line 14
  85. yield " <p>";
  86. 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)));
  87. yield "</p>
  88. ";
  89. }
  90. // line 16
  91. yield " ";
  92. if (array_key_exists("form_forgot_user_password", $context)) {
  93. // line 17
  94. yield " ";
  95. 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"]]);
  96. yield "
  97. <fieldset>
  98. ";
  99. // line 19
  100. 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"]]);
  101. yield "
  102. </fieldset>
  103. ";
  104. // line 21
  105. 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"]]);
  106. yield "
  107. ";
  108. // line 23
  109. 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');
  110. yield "
  111. ";
  112. }
  113. // line 25
  114. yield "
  115. ";
  116. // line 26
  117. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("ibexa-admin-ui-reset-password-js", null, "ibexa");
  118. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  120. yield from [];
  121. }
  122. /**
  123. * @codeCoverageIgnore
  124. */
  125. public function getTemplateName(): string
  126. {
  127. return "@admin/account/forgot_password/index.html.twig";
  128. }
  129. /**
  130. * @codeCoverageIgnore
  131. */
  132. public function isTraitable(): bool
  133. {
  134. return false;
  135. }
  136. /**
  137. * @codeCoverageIgnore
  138. */
  139. public function getDebugInfo(): array
  140. {
  141. 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,);
  142. }
  143. public function getSourceContext(): Source
  144. {
  145. return new Source("{% extends '@ibexadesign/account/base.html.twig' %}
  146. {% form_theme form_forgot_user_password '@ibexadesign/account/form_fields.html.twig' %}
  147. {%- block content -%}
  148. <a href=\"{{ path('login') }}\" class=\"btn ibexa-btn ibexa-btn--ghost ibexa-login__btn--back\">
  149. <svg class=\"ibexa-icon ibexa-icon--small-medium\">
  150. <use xlink:href=\"{{ ibexa_icon_path('back') }}\"></use>
  151. </svg>
  152. <span class=\"ibexa-btn__label\">{{ 'authentication.reset_your_password.back'|trans|desc('Back') }}
  153. </a>
  154. <h2 class=\"ibexa-login__actions-headline\">{{ 'authentication.reset_your_password'|trans|desc('Reset your password') }}</h2>
  155. {% if reason == userForgotPasswordReasonMigration %}
  156. <p>{{ 'ezplatform.forgot_password.reset_your_password.reason.migration'|trans|desc('Your password has expired, change it.') }}</p>
  157. {% endif %}
  158. {% if form_forgot_user_password is defined %}
  159. {{ form_start(form_forgot_user_password, {'attr': {'class': 'ibexa-form-validate ibexa-login__forgot-password-form'}}) }}
  160. <fieldset>
  161. {{ form_row(form_forgot_user_password.email, {'attr': {'class': 'form-control ibexa-input ibexa-input--text ibexa-login__input'}}) }}
  162. </fieldset>
  163. {{ form_widget(form_forgot_user_password.reset, {'attr': {'class': 'btn ibexa-btn ibexa-btn--primary ibexa-login__btn--reset-password'}}) }}
  164. {{ form_end(form_forgot_user_password) }}
  165. {% endif %}
  166. {{ encore_entry_script_tags('ibexa-admin-ui-reset-password-js', null, 'ibexa') }}
  167. {%- endblock content -%}
  168. ", "@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");
  169. }
  170. }