var/cache/dev/twig/c2/c2c84bddd4037daad6fb4de70073d53cdca5a6007eb7f60eb7466dba39f7fe01.php line 49

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. /* application/auth/login.html.twig */
  15. class __TwigTemplate_2677b0462902ad6d210e12991fa805a48d732b7c5482a40b5b17829d45757736 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "application/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/auth/login.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/auth/login.html.twig"));
  39.         $this->parent $this->loadTemplate("application/layout.html.twig""application/auth/login.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         yield "    <main class=\"main auth\">
  56.         <div class=\"auth__photo\">
  57.             <picture>
  58.                 <source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
  59.                 <img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
  60.             </picture>
  61.         </div>
  62.         <div class=\"auth__content\">
  63.             <h1 class=\"auth__title\">Авторизация</h1>
  64.             <form method=\"post\" class=\"form box box--outline\">
  65.                 <div class=\"form__group\">
  66.                     <input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
  67.                 </div>
  68.                 <div class=\"form__group\">
  69.                     <input name=\"password\" type=\"password\" class=\"form__control\" placeholder=\"Пароль\" required>
  70.                     <div class=\"form__help\"><a href=\"#\" data-fancybox=\"forgot\" data-src=\"#forgot\">Забыли пароль?</a></div>
  71.                 </div>
  72.                 <div class=\"form__btn\">
  73.                     <button type=\"submit\" class=\"btn btn--block\">
  74.                         <span class=\"btn__text\">Войти</span>
  75.                     </button>
  76.                     <a href=\"";
  77.         // line 25
  78.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
  79.         yield "\" class=\"btn btn--block btn--outline\">
  80.                         <span class=\"btn__text\">Регистрация</span>
  81.                     </a>
  82.                 </div>
  83.             </form>
  84.             <div class=\"auth__more more\">
  85.                 <a href=\"";
  86.         // line 31
  87.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  88.         yield "\" class=\"more__link\">
  89.                     <span class=\"more__icon\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.854 12.867a.536.536 0 0 1-.708 0l-5-4.546a.426.426 0 0 1 0-.642l5-4.546a.536.536 0 0 1 .708 0 .426.426 0 0 1 0 .643L6.207 8l4.647 4.224a.426.426 0 0 1 0 .643z\"></path></svg></span>
  90.                     <span class=\"more__text\">Вернуться назад</span>
  91.                 </a>
  92.             </div>
  93.         </div>
  94.     </main>
  95. ";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.         return; yield '';
  101.     }
  102.     /**
  103.      * @codeCoverageIgnore
  104.      */
  105.     public function getTemplateName()
  106.     {
  107.         return "application/auth/login.html.twig";
  108.     }
  109.     /**
  110.      * @codeCoverageIgnore
  111.      */
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     /**
  117.      * @codeCoverageIgnore
  118.      */
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  101 => 31,  92 => 25,  69 => 4,  59 => 3,  36 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends 'application/layout.html.twig' %}
  126. {% block content %}
  127.     <main class=\"main auth\">
  128.         <div class=\"auth__photo\">
  129.             <picture>
  130.                 <source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
  131.                 <img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
  132.             </picture>
  133.         </div>
  134.         <div class=\"auth__content\">
  135.             <h1 class=\"auth__title\">Авторизация</h1>
  136.             <form method=\"post\" class=\"form box box--outline\">
  137.                 <div class=\"form__group\">
  138.                     <input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
  139.                 </div>
  140.                 <div class=\"form__group\">
  141.                     <input name=\"password\" type=\"password\" class=\"form__control\" placeholder=\"Пароль\" required>
  142.                     <div class=\"form__help\"><a href=\"#\" data-fancybox=\"forgot\" data-src=\"#forgot\">Забыли пароль?</a></div>
  143.                 </div>
  144.                 <div class=\"form__btn\">
  145.                     <button type=\"submit\" class=\"btn btn--block\">
  146.                         <span class=\"btn__text\">Войти</span>
  147.                     </button>
  148.                     <a href=\"{{ path('register') }}\" class=\"btn btn--block btn--outline\">
  149.                         <span class=\"btn__text\">Регистрация</span>
  150.                     </a>
  151.                 </div>
  152.             </form>
  153.             <div class=\"auth__more more\">
  154.                 <a href=\"{{ path('home') }}\" class=\"more__link\">
  155.                     <span class=\"more__icon\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.854 12.867a.536.536 0 0 1-.708 0l-5-4.546a.426.426 0 0 1 0-.642l5-4.546a.536.536 0 0 1 .708 0 .426.426 0 0 1 0 .643L6.207 8l4.647 4.224a.426.426 0 0 1 0 .643z\"></path></svg></span>
  156.                     <span class=\"more__text\">Вернуться назад</span>
  157.                 </a>
  158.             </div>
  159.         </div>
  160.     </main>
  161. {% endblock %}
  162. ""application/auth/login.html.twig""/var/www/html/templates/application/auth/login.html.twig");
  163.     }
  164. }