var/cache/dev/twig/b5/b54c201eb97bce13a7f02a0c48c84312.php line 52

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/auth/login.html.twig */
  14. class __TwigTemplate_b56e93168553f22c9def74eb61d5d39c 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.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@base/templates/auth.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  36.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/auth/login.html.twig"));
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/auth/login.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@User/auth/login.html.twig"));
  41.         $this->parent $this->loadTemplate("@base/templates/auth.html.twig""@User/auth/login.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  55.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         // line 4
  61.         echo "\t";
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login_into_system", [], "UserBundle"), "html"nulltrue);
  63.         echo "
  64. ";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  71.     }
  72.     // line 7
  73.     public function block_body($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  82.         // line 8
  83.         echo "\t";
  84.         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.'8$this->source); })()), 'form_start', ["attr" => ["data-controller" => "login-form""data-login-form-target" => "form"]]);
  85.         echo "
  86. \t\t<h2 class=\"mb-8 text-center text-2xl font-semibold\">
  87. \t\t\t";
  88.         // line 10
  89.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.login_into_system", [], "UserBundle"), "html"nulltrue);
  90.         echo "
  91. \t\t</h2>
  92. \t\t";
  93.         // line 13
  94.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'13$this->source); })())) {
  95.             // line 14
  96.             echo "\t\t\t";
  97.             echo $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("alert", ["message" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'14$this->source); })()), "messageKey", [], "any"falsefalsefalse14), twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'14$this->source); })()), "messageData", [], "any"falsefalsefalse14), "security"), "level" => "error"]);
  98.             echo "
  99. \t\t";
  100.         }
  101.         // line 16
  102.         echo "
  103. \t\t";
  104.         // line 18
  105.         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.'18$this->source); })()), "_username", [], "any"falsefalsefalse18), 'row', ["attr" => ["data-login-form-target" => "userNameInput"]]);
  106.         echo "
  107. \t\t";
  108.         // line 19
  109.         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.'19$this->source); })()), "_password", [], "any"falsefalsefalse19), 'row', ["attr" => ["data-login-form-target" => "passwordInput"]]);
  110.         echo "
  111. \t\t<div class=\"mb-8\">
  112. \t\t\t<a href=\"";
  113.         // line 22
  114.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password");
  115.         echo "\" class=\"text-main font-semibold\">
  116. \t\t\t\t";
  117.         // line 23
  118.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auth.forgot_password", [], "UserBundle"), "html"nulltrue);
  119.         echo "
  120. \t\t\t</a>
  121. \t\t</div>
  122. \t\t";
  123.         // line 27
  124.         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.'27$this->source); })()), "submit", [], "any"falsefalsefalse27), 'row', ["attr" => ["data-login-form-target" => "submitButton""data-action" => "click->login-form#clearLocalStorage"]]);
  125.         echo "
  126. \t";
  127.         // line 28
  128.         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.'28$this->source); })()), 'form_end');
  129.         echo "
  130. \t<div data-controller=\"toast-notification\"
  131. \t     data-toast-notification-title-value=\"";
  132.         // line 31
  133.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("expiredSession.title", [], "UserBundle"), "html"nulltrue);
  134.         echo "\"
  135. \t     data-toast-notification-description-value=\"";
  136.         // line 32
  137.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("expiredSession.description", [], "UserBundle"), "html"nulltrue);
  138.         echo "\"
  139. \t></div>
  140. ";
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.         
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145.         
  146.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  147.     }
  148.     public function getTemplateName()
  149.     {
  150.         return "@User/auth/login.html.twig";
  151.     }
  152.     public function isTraitable()
  153.     {
  154.         return false;
  155.     }
  156.     public function getDebugInfo()
  157.     {
  158.         return array (  166 => 32,  162 => 31,  156 => 28,  152 => 27,  145 => 23,  141 => 22,  135 => 19,  131 => 18,  127 => 16,  121 => 14,  119 => 13,  113 => 10,  107 => 8,  94 => 7,  78 => 4,  65 => 3,  36 => 1,);
  159.     }
  160.     public function getSourceContext()
  161.     {
  162.         return new Source("{% extends '@base/templates/auth.html.twig' %}
  163. {% block title %}
  164. \t{{ 'auth.login_into_system'|trans({}, 'UserBundle') }}
  165. {% endblock %}
  166. {% block body %}
  167. \t{{ form_start(form, { attr: { 'data-controller': 'login-form', 'data-login-form-target': 'form'} }) }}
  168. \t\t<h2 class=\"mb-8 text-center text-2xl font-semibold\">
  169. \t\t\t{{ 'auth.login_into_system'|trans({}, 'UserBundle') }}
  170. \t\t</h2>
  171. \t\t{% if error %}
  172. \t\t\t{{ component('alert', {message: error.messageKey|trans(error.messageData, 'security'), level: 'error'}) }}
  173. \t\t{% endif %}
  174. \t\t{{ form_row(form._username, { attr: { 'data-login-form-target': 'userNameInput' } }) }}
  175. \t\t{{ form_row(form._password, { attr: { 'data-login-form-target': 'passwordInput' } }) }}
  176. \t\t<div class=\"mb-8\">
  177. \t\t\t<a href=\"{{ path('app_forgot_password') }}\" class=\"text-main font-semibold\">
  178. \t\t\t\t{{ 'auth.forgot_password'|trans({}, 'UserBundle') }}
  179. \t\t\t</a>
  180. \t\t</div>
  181. \t\t{{ form_row(form.submit, { attr: { 'data-login-form-target': 'submitButton', 'data-action': 'click->login-form#clearLocalStorage' } }) }}
  182. \t{{ form_end(form) }}
  183. \t<div data-controller=\"toast-notification\"
  184. \t     data-toast-notification-title-value=\"{{ ('expiredSession.title')|trans({}, 'UserBundle') }}\"
  185. \t     data-toast-notification-description-value=\"{{ ('expiredSession.description')|trans({}, 'UserBundle') }}\"
  186. \t></div>
  187. {% endblock %}
  188. ""@User/auth/login.html.twig""/home/cct/domains/dev7.cct.dev.dnc.pp.ua/public_html/src/app/src/Bundles/UserBundle/Resources/views/auth/login.html.twig");
  189.     }
  190. }