<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* application/auth/login.html.twig */
class __TwigTemplate_2677b0462902ad6d210e12991fa805a48d732b7c5482a40b5b17829d45757736 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "application/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "application/auth/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "application/auth/login.html.twig"));
$this->parent = $this->loadTemplate("application/layout.html.twig", "application/auth/login.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
yield " <main class=\"main auth\">
<div class=\"auth__photo\">
<picture>
<source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
<img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
</picture>
</div>
<div class=\"auth__content\">
<h1 class=\"auth__title\">Авторизация</h1>
<form method=\"post\" class=\"form box box--outline\">
<div class=\"form__group\">
<input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
</div>
<div class=\"form__group\">
<input name=\"password\" type=\"password\" class=\"form__control\" placeholder=\"Пароль\" required>
<div class=\"form__help\"><a href=\"#\" data-fancybox=\"forgot\" data-src=\"#forgot\">Забыли пароль?</a></div>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn btn--block\">
<span class=\"btn__text\">Войти</span>
</button>
<a href=\"";
// line 25
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
yield "\" class=\"btn btn--block btn--outline\">
<span class=\"btn__text\">Регистрация</span>
</a>
</div>
</form>
<div class=\"auth__more more\">
<a href=\"";
// line 31
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
yield "\" class=\"more__link\">
<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>
<span class=\"more__text\">Вернуться назад</span>
</a>
</div>
</div>
</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "application/auth/login.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 101 => 31, 92 => 25, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'application/layout.html.twig' %}
{% block content %}
<main class=\"main auth\">
<div class=\"auth__photo\">
<picture>
<source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
<img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
</picture>
</div>
<div class=\"auth__content\">
<h1 class=\"auth__title\">Авторизация</h1>
<form method=\"post\" class=\"form box box--outline\">
<div class=\"form__group\">
<input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
</div>
<div class=\"form__group\">
<input name=\"password\" type=\"password\" class=\"form__control\" placeholder=\"Пароль\" required>
<div class=\"form__help\"><a href=\"#\" data-fancybox=\"forgot\" data-src=\"#forgot\">Забыли пароль?</a></div>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn btn--block\">
<span class=\"btn__text\">Войти</span>
</button>
<a href=\"{{ path('register') }}\" class=\"btn btn--block btn--outline\">
<span class=\"btn__text\">Регистрация</span>
</a>
</div>
</form>
<div class=\"auth__more more\">
<a href=\"{{ path('home') }}\" class=\"more__link\">
<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>
<span class=\"more__text\">Вернуться назад</span>
</a>
</div>
</div>
</main>
{% endblock %}
", "application/auth/login.html.twig", "/var/www/html/templates/application/auth/login.html.twig");
}
}