var/cache/dev/twig/30/307582fa22c0bedb28ff8b537bf57d85.php line 44

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. /* @BoldrUsers/forgot-password.html.twig */
  16. class __TwigTemplate_7590ed3fee69a67278d5dc37654b5b81 extends Template
  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.             'title' => [$this'block_title'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "@BoldrUsers/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BoldrUsers/forgot-password.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BoldrUsers/forgot-password.html.twig"));
  44.         $this->parent $this->loadTemplate("@BoldrUsers/layout.html.twig""@BoldrUsers/forgot-password.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 2
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_title(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""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         // line 3
  63.         yield "    ";
  64.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("reset_password.reset_password", [], "BoldrUsersBundle"), "html"nulltrue);
  65.         yield "
  66. ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.         yield from [];
  72.     }
  73.     // line 6
  74.     /**
  75.      * @return iterable<null|scalar|\Stringable>
  76.      */
  77.     public function block_content(array $context, array $blocks = []): iterable
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  84.         // line 7
  85.         yield "    <p>
  86.         ";
  87.         // line 8
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("reset_password.explanation", [], "BoldrUsersBundle"), "html"nulltrue);
  89.         yield "
  90.     </p>
  91.     ";
  92.         // line 10
  93.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'10$this->source); })()), 'form_start');
  94.         yield "
  95.         ";
  96.         // line 11
  97.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'11$this->source); })()), 'errors');
  98.         yield "
  99.         ";
  100.         // line 12
  101.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'12$this->source); })()), 'rest');
  102.         yield "
  103.         <button type=\"submit\" class=\"";
  104.         // line 14
  105.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Boldr\Cms\CmsBundle\Twig\TwigExtension']->getButtonStyleClass($this->extensions['Boldr\Cms\CmsBundle\Twig\TwigExtension']->getPrimaryButtonStyle()), "html"nulltrue);
  106.         yield "\">
  107.             ";
  108.         // line 15
  109.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("reset_password.reset", [], "BoldrUsersBundle"), "html"nulltrue);
  110.         yield "
  111.         </button>
  112.     ";
  113.         // line 17
  114.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'17$this->source); })()), 'form_end');
  115.         yield "
  116. ";
  117.         
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119.         
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  121.         yield from [];
  122.     }
  123.     /**
  124.      * @codeCoverageIgnore
  125.      */
  126.     public function getTemplateName(): string
  127.     {
  128.         return "@BoldrUsers/forgot-password.html.twig";
  129.     }
  130.     /**
  131.      * @codeCoverageIgnore
  132.      */
  133.     public function isTraitable(): bool
  134.     {
  135.         return false;
  136.     }
  137.     /**
  138.      * @codeCoverageIgnore
  139.      */
  140.     public function getDebugInfo(): array
  141.     {
  142.         return array (  134 => 17,  129 => 15,  125 => 14,  120 => 12,  116 => 11,  112 => 10,  107 => 8,  104 => 7,  91 => 6,  77 => 3,  64 => 2,  41 => 1,);
  143.     }
  144.     public function getSourceContext(): Source
  145.     {
  146.         return new Source("{% extends '@BoldrUsers/layout.html.twig' %}
  147. {% block title %}
  148.     {{ 'reset_password.reset_password'|trans([], 'BoldrUsersBundle') }}
  149. {% endblock %}
  150. {% block content %}
  151.     <p>
  152.         {{ 'reset_password.explanation'|trans([], 'BoldrUsersBundle') }}
  153.     </p>
  154.     {{ form_start(form) }}
  155.         {{ form_errors(form) }}
  156.         {{ form_rest(form) }}
  157.         <button type=\"submit\" class=\"{{ boldr_cms_get_button_style_class(boldr_cms_get_primary_button_style()) }}\">
  158.             {{ 'reset_password.reset'|trans([], 'BoldrUsersBundle') }}
  159.         </button>
  160.     {{ form_end(form) }}
  161. {% endblock %}
  162. ""@BoldrUsers/forgot-password.html.twig""/home/boldrdev/sites/hb/app/vendor/boldr/users-bundle/src/Resources/views/forgot-password.html.twig");
  163.     }
  164. }