<?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/register.html.twig */
class __TwigTemplate_f73b4c585734e281651f30e18c02aa35914a281916c516744cc9362459aad2dd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'scripts' => [$this, 'block_scripts'],
];
}
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/register.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/register.html.twig"));
$this->parent = $this->loadTemplate("application/layout.html.twig", "application/auth/register.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 id=\"form\" method=\"post\" class=\"form box box--outline\">
<input name=\"token\" type=\"hidden\" />
<div class=\"form__group\">
<input name=\"name\" type=\"text\" class=\"form__control\" placeholder=\"Имя\" required>
</div>
<div class=\"form__group\">
<input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" required id=\"a-phone\">
</div>
<div class=\"form__group\">
<input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
</div>
";
// line 28
yield " <div class=\"form__btn\">
<button type=\"submit\" class=\"btn btn--block\">
<span class=\"btn__text\">зарегистрироваться</span>
</button>
</div>
<div class=\"form__help\">
Нажимая кнопку «Зарегистрироваться», я даю <a href=\"";
// line 34
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("agreement");
yield "\" target=\"_blank\">согласие</a> на обработку персональных данных.
</div>
<div class=\"form__help\">
This site is protected by reCAPTCHA and the Google
<a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
</div>
</form>
<div class=\"auth__more more\">
<a href=\"";
// line 43
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
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 '';
}
// line 52
public function block_scripts($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", "scripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 53
yield "<script>
\$('#form').on('submit', function () {
return submitFormWithCaptcha(\$(this));
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "application/auth/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 141 => 53, 131 => 52, 112 => 43, 100 => 34, 92 => 28, 70 => 4, 60 => 3, 37 => 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 id=\"form\" method=\"post\" class=\"form box box--outline\">
<input name=\"token\" type=\"hidden\" />
<div class=\"form__group\">
<input name=\"name\" type=\"text\" class=\"form__control\" placeholder=\"Имя\" required>
</div>
<div class=\"form__group\">
<input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" required id=\"a-phone\">
</div>
<div class=\"form__group\">
<input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
</div>
{# <div class=\"form__check\">#}
{# <input type=\"checkbox\" value=\"\" id=\"checkbox01\">#}
{# <label for=\"checkbox01\">Получать рекламные материалы</label>#}
{# </div>#}
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn btn--block\">
<span class=\"btn__text\">зарегистрироваться</span>
</button>
</div>
<div class=\"form__help\">
Нажимая кнопку «Зарегистрироваться», я даю <a href=\"{{ path('agreement') }}\" target=\"_blank\">согласие</a> на обработку персональных данных.
</div>
<div class=\"form__help\">
This site is protected by reCAPTCHA and the Google
<a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
</div>
</form>
<div class=\"auth__more more\">
<a href=\"{{ path('login') }}\" 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 %}
{% block scripts %}
<script>
\$('#form').on('submit', function () {
return submitFormWithCaptcha(\$(this));
});
</script>
{% endblock %}", "application/auth/register.html.twig", "/var/www/html/templates/application/auth/register.html.twig");
}
}