<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* security/register.html.twig */
class __TwigTemplate_f0a3934f8c61b6441e8a76cae2be73c3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'name_page' => [$this, 'block_name_page'],
'grid' => [$this, 'block_grid'],
'mainContainer' => [$this, 'block_mainContainer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "security/register.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Регистрация на MosPros";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 5
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 6
echo " <meta name=\"description\" content=\"Зарегистрируйтесь на проекте MosPros\">";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 8
public function block_name_page($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name_page"));
echo "registration";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 10
public function block_grid($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "grid"));
// line 11
echo " ";
$this->displayBlock('mainContainer', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 12
echo " <main class=\"select-registration page-with-background d-flex\">
<div class=\"bg\"></div>
<section class=\"registration-container w-100\">
<h1 role=\"heading\">Регистрация</h1>
\t\t\t\t<div class=\"registration-types\" id=\"registration-types\">
\t\t\t\t\t<p class=\"text-center\">Выберите тип регистрации</p>
\t\t\t\t\t<div class=\"types-items d-flex flex-wrap\">
\t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-1')\" class=\"types-item active\">
\t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
\t\t\t\t\t\t\t\t<img class=\"type-img img-fluid mb-1 mr-3 mr-lg-auto ml-lg-auto\" src=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/user-woman.svg", "basicConfig"), "html", null, true);
echo "\" alt=\"woman\">
\t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
\t\t\t\t\t\t\t\t\t<p class=\"type-title\">Рекламодатель</p>
\t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Девушки, модели, проститутки, индивидуалки</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатное размещение анкет
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатная регистрация
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tПочасовая оплата премиум-функций
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tДесятки тысяч потенциальных клиентов ежедневно
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-2')\" class=\"types-item\">
\t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
\t\t\t\t\t\t\t\t<img class=\"type-img img-fluid mb-1 mr-3 mr-lg-auto ml-lg-auto\" src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/user-man.svg", "basicConfig"), "html", null, true);
echo "\" alt=\"woman\">
\t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
\t\t\t\t\t\t\t\t\t<p class=\"type-title\">Дон</p>
\t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Пользователь, интересующийся девушками</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатная регистрация
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tАвто-подбор свежих и актуальных анкет
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tОтзывы и общение
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tИзбранные девушки
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"text-center\">
\t\t\t\t\t\t<button class=\"btn btn-danger rounding\" onclick=\"onNext()\" style=\"--rounding: 20px; width: 120px;\">Далее</button>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"registration-selected d-none\" id=\"registration-selected\">
\t\t\t\t\t<div class=\"selected-tab\">
\t\t\t\t\t\t";
// line 100
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.', 100, $this->source); })()), 'form_start');
echo "
\t\t\t\t\t\t<div class=\"error\">";
// line 102
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 102, $this->source); })()), 'errors');
echo "</div>
\t\t\t\t\t\t<div class=\"row mb-2 mb-md-3\">
\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 107
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 107, $this->source); })()), "nickName", [], "any", false, false, false, 107), "vars", [], "any", false, false, false, 107), "id", [], "any", false, false, false, 107), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ник", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 109
echo "\t\t\t\t\t\t\t\t\t";
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.', 109, $this->source); })()), "nickName", [], "any", false, false, false, 109), 'widget', ["label" => "Введите Ник", "attr" => ["class" => "form-control", "aria-describedby" => "nickName", "placeholder" => "Введите Ник", "required" => "", "autofocus" => ""]]);
// line 115
echo "
\t\t\t\t\t\t\t\t\t";
// line 116
$context["error_message"] = $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.', 116, $this->source); })()), "nickName", [], "any", false, false, false, 116), 'errors');
// line 117
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 117, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 117, $this->source); })()), "nickName", [], "any", false, false, false, 117), "vars", [], "any", false, false, false, 117), "id", [], "any", false, false, false, 117), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 117, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 120
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 120, $this->source); })()), "email", [], "any", false, false, false, 120), "vars", [], "any", false, false, false, 120), "id", [], "any", false, false, false, 120), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("E-mail", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 121
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.', 121, $this->source); })()), "email", [], "any", false, false, false, 121), 'widget', ["label" => "Введите E-mail", "attr" => ["class" => "form-control", "aria-describedby" => "email", "placeholder" => "Введите E-mail", "required" => ""]]);
// line 126
echo "
\t\t\t\t\t\t\t\t\t";
// line 127
$context["error_message"] = $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.', 127, $this->source); })()), "email", [], "any", false, false, false, 127), 'errors');
// line 128
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 128, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 128, $this->source); })()), "email", [], "any", false, false, false, 128), "vars", [], "any", false, false, false, 128), "id", [], "any", false, false, false, 128), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 128, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
// line 130
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "city", [], "any", true, true, false, 130)) {
// line 131
echo "\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 132
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 132, $this->source); })()), "city", [], "any", false, false, false, 132), "vars", [], "any", false, false, false, 132), "id", [], "any", false, false, false, 132), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выберите город", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 133
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.', 133, $this->source); })()), "city", [], "any", false, false, false, 133), 'widget', ["label" => "Выберите город:", "attr" => ["class" => "form-control", "aria-describedby" => "city", "required" => ""]]);
// line 137
echo "
\t\t\t\t\t\t\t\t\t";
// line 138
$context["error_message"] = $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.', 138, $this->source); })()), "city", [], "any", false, false, false, 138), 'errors');
// line 139
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 139, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 139, $this->source); })()), "city", [], "any", false, false, false, 139), "vars", [], "any", false, false, false, 139), "id", [], "any", false, false, false, 139), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 139, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 142
echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t";
// line 144
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "country", [], "any", true, true, false, 144)) {
// line 145
echo "\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 146
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 146, $this->source); })()), "country", [], "any", false, false, false, 146), "vars", [], "any", false, false, false, 146), "id", [], "any", false, false, false, 146), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выберите страну", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 147
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.', 147, $this->source); })()), "country", [], "any", false, false, false, 147), 'widget', ["label" => "Выберите страну:", "attr" => ["class" => "form-control", "aria-describedby" => "city", "required" => ""]]);
// line 151
echo "
\t\t\t\t\t\t\t\t\t";
// line 152
$context["error_message"] = $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.', 152, $this->source); })()), "country", [], "any", false, false, false, 152), 'errors');
// line 153
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 153, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 153, $this->source); })()), "country", [], "any", false, false, false, 153), "vars", [], "any", false, false, false, 153), "id", [], "any", false, false, false, 153), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 153, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 156
echo "\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 157
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 157, $this->source); })()), "plainPassword", [], "any", false, false, false, 157), "first", [], "any", false, false, false, 157), "vars", [], "any", false, false, false, 157), "id", [], "any", false, false, false, 157), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Пароль", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 158
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 158, $this->source); })()), "plainPassword", [], "any", false, false, false, 158), "first", [], "any", false, false, false, 158), 'widget', ["label" => "Выберите город:", "attr" => ["class" => "form-control", "required" => "", "placeholder" => "Введите пароль"]]);
// line 162
echo "
\t\t\t\t\t\t\t\t\t";
// line 163
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 163, $this->source); })()), "plainPassword", [], "any", false, false, false, 163), "first", [], "any", false, false, false, 163), 'errors');
// line 164
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 164, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 164, $this->source); })()), "plainPassword", [], "any", false, false, false, 164), "first", [], "any", false, false, false, 164), "vars", [], "any", false, false, false, 164), "id", [], "any", false, false, false, 164), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 164, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"";
// line 167
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 167, $this->source); })()), "plainPassword", [], "any", false, false, false, 167), "second", [], "any", false, false, false, 167), "vars", [], "any", false, false, false, 167), "id", [], "any", false, false, false, 167), "html", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Повторите пароль", [], "forms");
echo ":</label>
\t\t\t\t\t\t\t\t\t";
// line 168
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 168, $this->source); })()), "plainPassword", [], "any", false, false, false, 168), "second", [], "any", false, false, false, 168), 'widget', ["label" => "Выберите город:", "attr" => ["class" => "form-control", "required" => "", "placeholder" => "Повторите пароль"]]);
// line 172
echo "
\t\t\t\t\t\t\t\t\t";
// line 173
$context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, 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.', 173, $this->source); })()), "plainPassword", [], "any", false, false, false, 173), "second", [], "any", false, false, false, 173), 'errors');
// line 174
echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 174, $this->source); })())) > 0)) {
echo " show";
}
echo "\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 174, $this->source); })()), "plainPassword", [], "any", false, false, false, 174), "second", [], "any", false, false, false, 174), "vars", [], "any", false, false, false, 174), "id", [], "any", false, false, false, 174), "html", null, true);
echo "_error\">";
echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message", $context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.', 174, $this->source); })()), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"text-center\">
\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger rounding\" style=\"--rounding: 20px\">
\t\t\t\t\t\t\t\t<span>Зарегистрироваться</span>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 184
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.', 184, $this->source); })()), 'form_end');
echo "
\t\t\t\t\t</div>
\t\t\t\t</div>
</section>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
// line 192
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 193
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
(function () {
var type = document.getElementById('register_account_form_accountType');
if (!type) return;
type.value = 'advertiser';
})();
\t\tfunction onTypes(self, selected) {
\t\t\tvar list = document.getElementsByClassName('types-item');
\t\t\tvar registerAccount = document.getElementById('register_account_form_accountType');
\t\t\tif (list.length) {
\t\t\t\tfor(var i = 0, j = list.length; i < j; i++) {
\t\t\t\t\tlist[i].classList.remove(\"active\")
\t\t\t\t}
\t\t\t}
\t\t\tif(selected === 'selected-tab-1') {
\t\t\t\tregisterAccount.value = 'advertiser';
\t\t\t}
\t\t\tif(selected === 'selected-tab-2') {
\t\t\t\tregisterAccount.value = 'customer';
\t\t\t}
\t\t\tself.classList.add(\"active\");
\t\t}
\t\tfunction onNext() {
\t\t\tdocument.getElementById('registration-types').classList.add(\"d-none\");
\t\t\tdocument.getElementById('registration-selected').classList.remove(\"d-none\");
\t\t}
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "security/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 529 => 193, 516 => 192, 497 => 184, 477 => 174, 475 => 173, 472 => 172, 470 => 168, 464 => 167, 451 => 164, 449 => 163, 446 => 162, 444 => 158, 438 => 157, 435 => 156, 422 => 153, 420 => 152, 417 => 151, 415 => 147, 409 => 146, 406 => 145, 404 => 144, 400 => 142, 387 => 139, 385 => 138, 382 => 137, 380 => 133, 374 => 132, 371 => 131, 369 => 130, 357 => 128, 355 => 127, 352 => 126, 350 => 121, 344 => 120, 331 => 117, 329 => 116, 326 => 115, 323 => 109, 317 => 107, 309 => 102, 304 => 100, 287 => 86, 278 => 80, 269 => 74, 260 => 68, 247 => 58, 235 => 49, 226 => 43, 217 => 37, 208 => 31, 195 => 21, 184 => 12, 158 => 11, 145 => 10, 120 => 8, 107 => 6, 94 => 5, 69 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block title %}Регистрация на MosPros{% endblock %}
{% block metaDescription %}
<meta name=\"description\" content=\"Зарегистрируйтесь на проекте MosPros\">{% endblock %}
{% block name_page %}registration{% endblock %}
{% block grid %}
{% block mainContainer %}
<main class=\"select-registration page-with-background d-flex\">
<div class=\"bg\"></div>
<section class=\"registration-container w-100\">
<h1 role=\"heading\">Регистрация</h1>
\t\t\t\t<div class=\"registration-types\" id=\"registration-types\">
\t\t\t\t\t<p class=\"text-center\">Выберите тип регистрации</p>
\t\t\t\t\t<div class=\"types-items d-flex flex-wrap\">
\t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-1')\" class=\"types-item active\">
\t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
\t\t\t\t\t\t\t\t<img class=\"type-img img-fluid mb-1 mr-3 mr-lg-auto ml-lg-auto\" src=\"{{ asset('assets/images/icons/user-woman.svg','basicConfig') }}\" alt=\"woman\">
\t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
\t\t\t\t\t\t\t\t\t<p class=\"type-title\">Рекламодатель</p>
\t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Девушки, модели, проститутки, индивидуалки</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатное размещение анкет
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатная регистрация
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tПочасовая оплата премиум-функций
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tДесятки тысяч потенциальных клиентов ежедневно
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-2')\" class=\"types-item\">
\t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
\t\t\t\t\t\t\t\t<img class=\"type-img img-fluid mb-1 mr-3 mr-lg-auto ml-lg-auto\" src=\"{{ asset('assets/images/icons/user-man.svg','basicConfig') }}\" alt=\"woman\">
\t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
\t\t\t\t\t\t\t\t\t<p class=\"type-title\">Дон</p>
\t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Пользователь, интересующийся девушками</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
\t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tБесплатная регистрация
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tАвто-подбор свежих и актуальных анкет
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tОтзывы и общение
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
\t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-registration-circle\"></use>
\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\tИзбранные девушки
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"text-center\">
\t\t\t\t\t\t<button class=\"btn btn-danger rounding\" onclick=\"onNext()\" style=\"--rounding: 20px; width: 120px;\">Далее</button>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"registration-selected d-none\" id=\"registration-selected\">
\t\t\t\t\t<div class=\"selected-tab\">
\t\t\t\t\t\t{{ form_start(form) }}
\t\t\t\t\t\t<div class=\"error\">{{ form_errors(form) }}</div>
\t\t\t\t\t\t<div class=\"row mb-2 mb-md-3\">
\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.nickName.vars.id }}\">{% trans with {} from 'forms' %}Ник{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{#{{ last_username }}#}
\t\t\t\t\t\t\t\t\t{{ form_widget(form.nickName, {'label': 'Введите Ник', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'aria-describedby':'nickName',
\t\t\t\t\t\t\t\t\t\t'placeholder':'Введите Ник',
\t\t\t\t\t\t\t\t\t\t'required':'',
\t\t\t\t\t\t\t\t\t\t'autofocus':''
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.nickName) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.nickName.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.email.vars.id }}\">{% trans with {} from 'forms' %}E-mail{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{{ form_widget(form.email, {'label': 'Введите E-mail', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'aria-describedby':'email',
\t\t\t\t\t\t\t\t\t\t'placeholder':'Введите E-mail',
\t\t\t\t\t\t\t\t\t\t'required':''
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.email) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.email.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% if form.city is defined %}
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.city.vars.id }}\">{% trans with {} from 'forms' %}Выберите город{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{{ form_widget(form.city, {'label': 'Выберите город:', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'aria-describedby':'city',
\t\t\t\t\t\t\t\t\t\t'required':''
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.city) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.city.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
\t\t\t\t\t\t\t\t{% if form.country is defined %}
\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.country.vars.id }}\">{% trans with {} from 'forms' %}Выберите страну{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{{ form_widget(form.country, {'label': 'Выберите страну:', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'aria-describedby':'city',
\t\t\t\t\t\t\t\t\t\t'required':''
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.country) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.country.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.plainPassword.first.vars.id }}\">{% trans with {} from 'forms' %}Пароль{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{{ form_widget(form.plainPassword.first, {'label': 'Выберите город:', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'required':'',
\t\t\t\t\t\t\t\t\t\t'placeholder': 'Введите пароль'
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.plainPassword.first) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.plainPassword.first.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t\t<label for=\"{{ form.plainPassword.second.vars.id }}\">{% trans with {} from 'forms' %}Повторите пароль{% endtrans %}:</label>
\t\t\t\t\t\t\t\t\t{{ form_widget(form.plainPassword.second, {'label': 'Выберите город:', 'attr': {
\t\t\t\t\t\t\t\t\t\t'class': 'form-control',
\t\t\t\t\t\t\t\t\t\t'required':'',
\t\t\t\t\t\t\t\t\t\t'placeholder': 'Повторите пароль'
\t\t\t\t\t\t\t\t\t}}) }}
\t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.plainPassword.second) %}
\t\t\t\t\t\t\t\t\t<p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.plainPassword.second.vars.id }}_error\">{{ error_message }}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"text-center\">
\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger rounding\" style=\"--rounding: 20px\">
\t\t\t\t\t\t\t\t<span>Зарегистрироваться</span>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{{ form_end(form) }}
\t\t\t\t\t</div>
\t\t\t\t</div>
</section>
</main>
{% endblock %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
(function () {
var type = document.getElementById('register_account_form_accountType');
if (!type) return;
type.value = 'advertiser';
})();
\t\tfunction onTypes(self, selected) {
\t\t\tvar list = document.getElementsByClassName('types-item');
\t\t\tvar registerAccount = document.getElementById('register_account_form_accountType');
\t\t\tif (list.length) {
\t\t\t\tfor(var i = 0, j = list.length; i < j; i++) {
\t\t\t\t\tlist[i].classList.remove(\"active\")
\t\t\t\t}
\t\t\t}
\t\t\tif(selected === 'selected-tab-1') {
\t\t\t\tregisterAccount.value = 'advertiser';
\t\t\t}
\t\t\tif(selected === 'selected-tab-2') {
\t\t\t\tregisterAccount.value = 'customer';
\t\t\t}
\t\t\tself.classList.add(\"active\");
\t\t}
\t\tfunction onNext() {
\t\t\tdocument.getElementById('registration-types').classList.add(\"d-none\");
\t\t\tdocument.getElementById('registration-selected').classList.remove(\"d-none\");
\t\t}
</script>
{% endblock %}
", "security/register.html.twig", "/app/templates/security/register.html.twig");
}
}