var/cache/dev/twig/cb/cb002336589e0c1c6fd499c1f228e87c.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @User/password/forgot_password_form.html.twig */
  14. class __TwigTemplate_595884a40aa0fa36a327b055620ead23 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@base/templates/auth.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/password/forgot_password_form.html.twig"));
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/password/forgot_password_form.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/password/forgot_password_form.html.twig"));
  42.         $this->parent $this->loadTemplate("@base/templates/auth.html.twig""@User/password/forgot_password_form.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  56.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         echo "Forgot password";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         
  67.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  68.     }
  69.     // line 5
  70.     public function block_stylesheets($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  74.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  79.         // line 6
  80.         echo "\t";
  81.         $this->displayParentBlock("stylesheets"$context$blocks);
  82.         echo "
  83. \t<style>
  84. \t\t#forgot_password_submit {
  85. \t\t\twidth: 100%;
  86. \t\t\tjustify-content: center;
  87. \t\t\tfont-size: 1.125rem;
  88. \t\t}
  89. \t</style>
  90. ";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         
  96.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  97.     }
  98.     // line 17
  99.     public function block_body($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  103.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  108.         // line 18
  109.         echo "\t<div data-controller=\"forgot-password-controller\">
  110. \t\t";
  111.         // line 19
  112.         echo         $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.'19$this->source); })()), 'form_start');
  113.         echo "
  114. \t\t<h2 class=\"mb-4 text-center text-2xl font-semibold\">
  115. \t\t\t";
  116.         // line 22
  117.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("auth.forgot_password", [], "UserBundle");
  118.         // line 23
  119.         echo "\t\t</h2>
  120. \t\t";
  121.         // line 25
  122.         $context['_parent'] = $context;
  123.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "flashes", [=> "error"], "method"falsefalsefalse25));
  124.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  125.             // line 26
  126.             echo "\t\t\t";
  127.             echo $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("alert", ["message" => $context["message"], "level" => "error"]);
  128.             echo "
  129. \t\t";
  130.         }
  131.         $_parent $context['_parent'];
  132.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  133.         $context array_intersect_key($context$_parent) + $_parent;
  134.         // line 28
  135.         echo "\t\t";
  136.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'28$this->source); })()), "email", [], "any"falsefalsefalse28), 'row');
  137.         echo "
  138. \t\t";
  139.         // line 29
  140.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "submit", [], "any"falsefalsefalse29), 'row');
  141.         echo "
  142. \t\t";
  143.         // line 31
  144.         echo         $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.'31$this->source); })()), 'form_end');
  145.         echo "
  146. \t</div>
  147. ";
  148.         
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.         
  153.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  154.     }
  155.     public function getTemplateName()
  156.     {
  157.         return "@User/password/forgot_password_form.html.twig";
  158.     }
  159.     public function isTraitable()
  160.     {
  161.         return false;
  162.     }
  163.     public function getDebugInfo()
  164.     {
  165.         return array (  179 => 31,  174 => 29,  169 => 28,  160 => 26,  156 => 25,  152 => 23,  150 => 22,  144 => 19,  141 => 18,  128 => 17,  104 => 6,  91 => 5,  66 => 3,  37 => 1,);
  166.     }
  167.     public function getSourceContext()
  168.     {
  169.         return new Source("{% extends '@base/templates/auth.html.twig' %}
  170. {% block title %}Forgot password{% endblock %}
  171. {% block stylesheets %}
  172. \t{{ parent() }}
  173. \t<style>
  174. \t\t#forgot_password_submit {
  175. \t\t\twidth: 100%;
  176. \t\t\tjustify-content: center;
  177. \t\t\tfont-size: 1.125rem;
  178. \t\t}
  179. \t</style>
  180. {% endblock %}
  181. {% block body %}
  182. \t<div data-controller=\"forgot-password-controller\">
  183. \t\t{{ form_start(form) }}
  184. \t\t<h2 class=\"mb-4 text-center text-2xl font-semibold\">
  185. \t\t\t{% trans from 'UserBundle' %}auth.forgot_password{% endtrans %}
  186. \t\t</h2>
  187. \t\t{% for message in app.flashes('error') %}
  188. \t\t\t{{ component('alert', {message: message, level: 'error'}) }}
  189. \t\t{% endfor %}
  190. \t\t{{ form_row(form.email) }}
  191. \t\t{{ form_row(form.submit) }}
  192. \t\t{{ form_end(form) }}
  193. \t</div>
  194. {% endblock %}
  195. ""@User/password/forgot_password_form.html.twig""/home/cct/domains/dev7.cct.dev.dnc.pp.ua/public_html/src/app/src/Bundles/UserBundle/Resources/views/password/forgot_password_form.html.twig");
  196.     }
  197. }