var/cache/review/twig/55/55e197defb60aadb347d1af69af7bee7.php line 55

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. /* security/login.html.twig */
  14. class __TwigTemplate_11cb91f9c38f57868e8bcc25b26637b1 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.             'metaDescription' => [$this'block_metaDescription'],
  25.             'name_page' => [$this'block_name_page'],
  26.             'grid' => [$this'block_grid'],
  27.             'mainContainer' => [$this'block_mainContainer'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.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""security/login.html.twig"));
  44.         $this->parent $this->loadTemplate("layout.html.twig""security/login.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 3
  54.     public function block_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         echo "Вход на проекте";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         
  69.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  70.     }
  71.     // line 5
  72.     public function block_metaDescription($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  76.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  81.         // line 6
  82.         echo "\t<meta name=\"description\" content=\"Страница входа на самом популярном досуговом проекте. Заказывая рекламу у нас Вы забудете о молчащем телефоне.\">
  83. ";
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.         
  89.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  90.     }
  91.     // line 9
  92.     public function block_name_page($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  96.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  101.         echo "login";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  108.     }
  109.     // line 11
  110.     public function block_grid($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  114.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""grid"));
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""grid"));
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""grid"));
  119.         // line 12
  120.         echo "    ";
  121.         $this->displayBlock('mainContainer'$context$blocks);
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.         
  127.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  128.     }
  129.     public function block_mainContainer($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  133.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  138.         // line 13
  139.         echo "\t\t<main class=\"page-login page-with-background\">
  140. \t\t\t<div class=\"background\">
  141. \t\t\t\t<img src=\"";
  142.         // line 15
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/backgrounds/basic.jpg""basicConfig"), "html"nulltrue);
  144.         echo "\" alt=\"background\">
  145. \t\t\t</div>
  146. \t\t\t<section class=\"block";
  147.         // line 17
  148.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'17$this->source); })())) {
  149.             echo " with-error";
  150.         }
  151.         echo "\">
  152. \t\t\t\t<h1 role=\"heading\">";
  153.         // line 18
  154.         echo (($this->extensions['App\Twig\SeoExtension']->pageHeading()) ? ($this->extensions['App\Twig\SeoExtension']->pageHeading()) : ("Вход"));
  155.         echo "</h1>
  156. \t\t\t\t";
  157.         // line 19
  158.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'19$this->source); })())) {
  159.             // line 20
  160.             echo "\t\t\t\t\t<div class=\"form-error\">";
  161.             echo twig_escape_filter($this->env$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.'20$this->source); })()), "messageKey", [], "any"falsefalsefalse20), 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.'20$this->source); })()), "messageData", [], "any"falsefalsefalse20), "security"), "html"nulltrue);
  162.             echo "</div>
  163. \t\t\t\t";
  164.         }
  165.         // line 22
  166.         echo "\t\t\t\t<form class=\"\" method=\"post\">
  167. \t\t\t\t\t<div class=\"form-group\">
  168. \t\t\t\t\t\t<label for=\"email\">";
  169.         // line 24
  170.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("E-mail", [], "forms");
  171.         echo ":</label>
  172. \t\t\t\t\t\t<input type=\"email\" value=\"";
  173.         // line 25
  174.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'25$this->source); })()), "html"nulltrue);
  175.         echo "\" class=\"form-control rounding\" id=\"email\" aria-describedby=\"email\" placeholder=\"Email\" name=\"email\" required autofocus>
  176. \t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
  177. \t\t\t\t\t</div>
  178. \t\t\t\t\t<div class=\"form-group\">
  179. \t\t\t\t\t\t<label for=\"password\">";
  180.         // line 29
  181.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Пароль", [], "forms");
  182.         echo ":</label>
  183. \t\t\t\t\t\t<input type=\"password\" value=\"";
  184.         // line 30
  185.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'30$this->source); })()), "html"nulltrue);
  186.         echo "\" class=\"form-control rounding\" name=\"password\" id=\"password\" aria-describedby=\"password\" placeholder=\"Password\" required>
  187. \t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"";
  188.         // line 31
  189.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  190.         echo "\">
  191. \t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter password.</div>
  192. \t\t\t\t\t</div>
  193. \t\t\t\t\t<!--noindex--><a href=\"";
  194.         // line 34
  195.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("receive_password");
  196.         echo "\" rel=\"nofollow\">";
  197.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Восстановить пароль", [], "basic");
  198.         echo "</a><!--/noindex-->
  199. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger w-100 rounding\" style=\"--rounding: 20px\">
  200. \t\t\t\t\t\t<span>Войти в кабинет</span>
  201. \t\t\t\t\t</button>
  202. \t\t\t\t</form>
  203. \t\t\t\t<p>Если у Вас еще нет аккаунта <!--noindex--><a href=\"";
  204.         // line 39
  205.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register", ["city" => twig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'39$this->source); })()), "uriIdentity", [], "any"falsefalsefalse39)]), "html"nulltrue);
  206.         echo "\" rel=\"nofollow\">зарегистрируйтесь</a><!--/noindex--></p>
  207. \t\t\t</section>
  208. \t\t</main>
  209. \t";
  210.         
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  212.         
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  214.         
  215.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  216.     }
  217.     /**
  218.      * @codeCoverageIgnore
  219.      */
  220.     public function getTemplateName()
  221.     {
  222.         return "security/login.html.twig";
  223.     }
  224.     /**
  225.      * @codeCoverageIgnore
  226.      */
  227.     public function isTraitable()
  228.     {
  229.         return false;
  230.     }
  231.     /**
  232.      * @codeCoverageIgnore
  233.      */
  234.     public function getDebugInfo()
  235.     {
  236.         return array (  250 => 39,  240 => 34,  234 => 31,  230 => 30,  226 => 29,  219 => 25,  215 => 24,  211 => 22,  205 => 20,  203 => 19,  199 => 18,  193 => 17,  188 => 15,  184 => 13,  158 => 12,  145 => 11,  120 => 9,  106 => 6,  93 => 5,  68 => 3,  39 => 1,);
  237.     }
  238.     public function getSourceContext()
  239.     {
  240.         return new Source("{% extends 'layout.html.twig' %}
  241. {% block title %}Вход на проекте{% endblock %}
  242. {% block metaDescription %}
  243. \t<meta name=\"description\" content=\"Страница входа на самом популярном досуговом проекте. Заказывая рекламу у нас Вы забудете о молчащем телефоне.\">
  244. {% endblock %}
  245. {% block name_page %}login{% endblock %}
  246. {% block grid %}
  247.     {% block mainContainer %}
  248. \t\t<main class=\"page-login page-with-background\">
  249. \t\t\t<div class=\"background\">
  250. \t\t\t\t<img src=\"{{ asset('assets/images/backgrounds/basic.jpg','basicConfig') }}\" alt=\"background\">
  251. \t\t\t</div>
  252. \t\t\t<section class=\"block{% if error %} with-error{% endif %}\">
  253. \t\t\t\t<h1 role=\"heading\">{{ seo_heading() ? seo_heading() : 'Вход' }}</h1>
  254. \t\t\t\t{% if error %}
  255. \t\t\t\t\t<div class=\"form-error\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  256. \t\t\t\t{% endif %}
  257. \t\t\t\t<form class=\"\" method=\"post\">
  258. \t\t\t\t\t<div class=\"form-group\">
  259. \t\t\t\t\t\t<label for=\"email\">{% trans with {} from 'forms' %}E-mail{% endtrans %}:</label>
  260. \t\t\t\t\t\t<input type=\"email\" value=\"{{ last_username }}\" class=\"form-control rounding\" id=\"email\" aria-describedby=\"email\" placeholder=\"Email\" name=\"email\" required autofocus>
  261. \t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
  262. \t\t\t\t\t</div>
  263. \t\t\t\t\t<div class=\"form-group\">
  264. \t\t\t\t\t\t<label for=\"password\">{% trans with {} from 'forms' %}Пароль{% endtrans %}:</label>
  265. \t\t\t\t\t\t<input type=\"password\" value=\"{{ last_username }}\" class=\"form-control rounding\" name=\"password\" id=\"password\" aria-describedby=\"password\" placeholder=\"Password\" required>
  266. \t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  267. \t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter password.</div>
  268. \t\t\t\t\t</div>
  269. \t\t\t\t\t<!--noindex--><a href=\"{{ path('receive_password') }}\" rel=\"nofollow\">{% trans with {} from 'basic' %}Восстановить пароль{% endtrans %}</a><!--/noindex-->
  270. \t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger w-100 rounding\" style=\"--rounding: 20px\">
  271. \t\t\t\t\t\t<span>Войти в кабинет</span>
  272. \t\t\t\t\t</button>
  273. \t\t\t\t</form>
  274. \t\t\t\t<p>Если у Вас еще нет аккаунта <!--noindex--><a href=\"{{ path('register', {'city': city.uriIdentity}) }}\" rel=\"nofollow\">зарегистрируйтесь</a><!--/noindex--></p>
  275. \t\t\t</section>
  276. \t\t</main>
  277. \t{% endblock %}
  278. {% endblock %}
  279. ""security/login.html.twig""/app/templates/security/login.html.twig");
  280.     }
  281. }