var/cache/review/twig/84/840d629148c75a62f96aba910d6168f2.php line 56

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/register.html.twig */
  14. class __TwigTemplate_f0a3934f8c61b6441e8a76cae2be73c3 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.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  45.         $this->parent $this->loadTemplate("layout.html.twig""security/register.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 3
  55.     public function block_title($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  59.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         echo "Регистрация на MosPros";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         
  70.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  71.     }
  72.     // line 5
  73.     public function block_metaDescription($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  82.         // line 6
  83.         echo "    <meta name=\"description\" content=\"Зарегистрируйтесь на проекте MosPros\">";
  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 8
  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 "registration";
  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 10
  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 11
  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 12
  139.         echo "        <main class=\"select-registration page-with-background d-flex\">
  140.             <div class=\"bg\"></div>
  141.             <section class=\"registration-container w-100\">
  142.                 <h1 role=\"heading\">Регистрация</h1>
  143. \t\t\t\t<div class=\"registration-types\" id=\"registration-types\">
  144. \t\t\t\t\t<p class=\"text-center\">Выберите тип регистрации</p>
  145. \t\t\t\t\t<div class=\"types-items d-flex flex-wrap\">
  146. \t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-1')\" class=\"types-item active\">
  147. \t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
  148. \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=\"";
  149.         // line 21
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/user-woman.svg""basicConfig"), "html"nulltrue);
  151.         echo "\" alt=\"woman\">
  152. \t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
  153. \t\t\t\t\t\t\t\t\t<p class=\"type-title\">Рекламодатель</p>
  154. \t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Девушки, модели, проститутки, индивидуалки</p>
  155. \t\t\t\t\t\t\t\t</div>
  156. \t\t\t\t\t\t\t</div>
  157. \t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
  158. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
  159. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  160. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  161. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  162.         // line 31
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  164.         echo "#icon-registration-circle\"></use>
  165. \t\t\t\t\t\t\t\t\t\t</svg>
  166. \t\t\t\t\t\t\t\t\t\tБесплатное размещение анкет
  167. \t\t\t\t\t\t\t\t\t</li>
  168. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  169. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  170. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  171.         // line 37
  172.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  173.         echo "#icon-registration-circle\"></use>
  174. \t\t\t\t\t\t\t\t\t\t</svg>
  175. \t\t\t\t\t\t\t\t\t\tБесплатная регистрация
  176. \t\t\t\t\t\t\t\t\t</li>
  177. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  178. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  179. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  180.         // line 43
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  182.         echo "#icon-registration-circle\"></use>
  183. \t\t\t\t\t\t\t\t\t\t</svg>
  184. \t\t\t\t\t\t\t\t\t\tПочасовая оплата премиум-функций
  185. \t\t\t\t\t\t\t\t\t</li>
  186. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  187. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  188. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  189.         // line 49
  190.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  191.         echo "#icon-registration-circle\"></use>
  192. \t\t\t\t\t\t\t\t\t\t</svg>
  193. \t\t\t\t\t\t\t\t\t\tДесятки тысяч потенциальных клиентов ежедневно
  194. \t\t\t\t\t\t\t\t\t</li>
  195. \t\t\t\t\t\t\t\t</ul>
  196. \t\t\t\t\t\t\t</div>
  197. \t\t\t\t\t\t</div>
  198. \t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-2')\" class=\"types-item\">
  199. \t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
  200. \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=\"";
  201.         // line 58
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/user-man.svg""basicConfig"), "html"nulltrue);
  203.         echo "\" alt=\"woman\">
  204. \t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
  205. \t\t\t\t\t\t\t\t\t<p class=\"type-title\">Дон</p>
  206. \t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Пользователь, интересующийся девушками</p>
  207. \t\t\t\t\t\t\t\t</div>
  208. \t\t\t\t\t\t\t</div>
  209. \t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
  210. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
  211. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  212. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  213. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  214.         // line 68
  215.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  216.         echo "#icon-registration-circle\"></use>
  217. \t\t\t\t\t\t\t\t\t\t</svg>
  218. \t\t\t\t\t\t\t\t\t\tБесплатная регистрация
  219. \t\t\t\t\t\t\t\t\t</li>
  220. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  221. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  222. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  223.         // line 74
  224.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  225.         echo "#icon-registration-circle\"></use>
  226. \t\t\t\t\t\t\t\t\t\t</svg>
  227. \t\t\t\t\t\t\t\t\t\tАвто-подбор свежих и актуальных анкет
  228. \t\t\t\t\t\t\t\t\t</li>
  229. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  230. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  231. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  232.         // line 80
  233.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  234.         echo "#icon-registration-circle\"></use>
  235. \t\t\t\t\t\t\t\t\t\t</svg>
  236. \t\t\t\t\t\t\t\t\t\tОтзывы и общение
  237. \t\t\t\t\t\t\t\t\t</li>
  238. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  239. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  240. \t\t\t\t\t\t\t\t\t\t\t<use xlink:href=\"";
  241.         // line 86
  242.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  243.         echo "#icon-registration-circle\"></use>
  244. \t\t\t\t\t\t\t\t\t\t</svg>
  245. \t\t\t\t\t\t\t\t\t\tИзбранные девушки
  246. \t\t\t\t\t\t\t\t\t</li>
  247. \t\t\t\t\t\t\t\t</ul>
  248. \t\t\t\t\t\t\t</div>
  249. \t\t\t\t\t\t</div>
  250. \t\t\t\t\t</div>
  251. \t\t\t\t\t<div class=\"text-center\">
  252. \t\t\t\t\t\t<button class=\"btn btn-danger rounding\" onclick=\"onNext()\" style=\"--rounding: 20px; width: 120px;\">Далее</button>
  253. \t\t\t\t\t</div>
  254. \t\t\t\t</div>
  255. \t\t\t\t<div class=\"registration-selected d-none\" id=\"registration-selected\">
  256. \t\t\t\t\t<div class=\"selected-tab\">
  257. \t\t\t\t\t\t";
  258.         // line 100
  259.         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');
  260.         echo "
  261. \t\t\t\t\t\t<div class=\"error\">";
  262.         // line 102
  263.         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');
  264.         echo "</div>
  265. \t\t\t\t\t\t<div class=\"row mb-2 mb-md-3\">
  266. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  267. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  268. \t\t\t\t\t\t\t\t\t<label for=\"";
  269.         // line 107
  270.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse107), "vars", [], "any"falsefalsefalse107), "id", [], "any"falsefalsefalse107), "html"nulltrue);
  271.         echo "\">";
  272.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ник", [], "forms");
  273.         echo ":</label>
  274. \t\t\t\t\t\t\t\t\t";
  275.         // line 109
  276.         echo "\t\t\t\t\t\t\t\t\t";
  277.         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"falsefalsefalse109), 'widget', ["label" => "Введите Ник""attr" => ["class" => "form-control""aria-describedby" => "nickName""placeholder" => "Введите Ник""required" => """autofocus" => ""]]);
  278.         // line 115
  279.         echo "
  280. \t\t\t\t\t\t\t\t\t";
  281.         // line 116
  282.         $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"falsefalsefalse116), 'errors');
  283.         // line 117
  284.         echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  285.         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)) {
  286.             echo " show";
  287.         }
  288.         echo "\" id=\"";
  289.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse117), "vars", [], "any"falsefalsefalse117), "id", [], "any"falsefalsefalse117), "html"nulltrue);
  290.         echo "_error\">";
  291.         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"nulltrue);
  292.         echo "</p>
  293. \t\t\t\t\t\t\t\t</div>
  294. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  295. \t\t\t\t\t\t\t\t\t<label for=\"";
  296.         // line 120
  297.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse120), "vars", [], "any"falsefalsefalse120), "id", [], "any"falsefalsefalse120), "html"nulltrue);
  298.         echo "\">";
  299.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("E-mail", [], "forms");
  300.         echo ":</label>
  301. \t\t\t\t\t\t\t\t\t";
  302.         // line 121
  303.         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"falsefalsefalse121), 'widget', ["label" => "Введите E-mail""attr" => ["class" => "form-control""aria-describedby" => "email""placeholder" => "Введите E-mail""required" => ""]]);
  304.         // line 126
  305.         echo "
  306. \t\t\t\t\t\t\t\t\t";
  307.         // line 127
  308.         $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"falsefalsefalse127), 'errors');
  309.         // line 128
  310.         echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  311.         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)) {
  312.             echo " show";
  313.         }
  314.         echo "\" id=\"";
  315.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse128), "vars", [], "any"falsefalsefalse128), "id", [], "any"falsefalsefalse128), "html"nulltrue);
  316.         echo "_error\">";
  317.         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"nulltrue);
  318.         echo "</p>
  319. \t\t\t\t\t\t\t\t</div>
  320. \t\t\t\t\t\t\t\t";
  321.         // line 130
  322.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "city", [], "any"truetruefalse130)) {
  323.             // line 131
  324.             echo "\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  325. \t\t\t\t\t\t\t\t\t<label for=\"";
  326.             // line 132
  327.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse132), "vars", [], "any"falsefalsefalse132), "id", [], "any"falsefalsefalse132), "html"nulltrue);
  328.             echo "\">";
  329.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выберите город", [], "forms");
  330.             echo ":</label>
  331. \t\t\t\t\t\t\t\t\t";
  332.             // line 133
  333.             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"falsefalsefalse133), 'widget', ["label" => "Выберите город:""attr" => ["class" => "form-control""aria-describedby" => "city""required" => ""]]);
  334.             // line 137
  335.             echo "
  336. \t\t\t\t\t\t\t\t\t";
  337.             // line 138
  338.             $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"falsefalsefalse138), 'errors');
  339.             // line 139
  340.             echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  341.             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)) {
  342.                 echo " show";
  343.             }
  344.             echo "\" id=\"";
  345.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse139), "vars", [], "any"falsefalsefalse139), "id", [], "any"falsefalsefalse139), "html"nulltrue);
  346.             echo "_error\">";
  347.             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"nulltrue);
  348.             echo "</p>
  349. \t\t\t\t\t\t\t\t\t</div>
  350. \t\t\t\t\t\t\t\t";
  351.         }
  352.         // line 142
  353.         echo "\t\t\t\t\t\t\t</div>
  354. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  355. \t\t\t\t\t\t\t\t";
  356.         // line 144
  357.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "country", [], "any"truetruefalse144)) {
  358.             // line 145
  359.             echo "\t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  360. \t\t\t\t\t\t\t\t\t<label for=\"";
  361.             // line 146
  362.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse146), "vars", [], "any"falsefalsefalse146), "id", [], "any"falsefalsefalse146), "html"nulltrue);
  363.             echo "\">";
  364.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Выберите страну", [], "forms");
  365.             echo ":</label>
  366. \t\t\t\t\t\t\t\t\t";
  367.             // line 147
  368.             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"falsefalsefalse147), 'widget', ["label" => "Выберите страну:""attr" => ["class" => "form-control""aria-describedby" => "city""required" => ""]]);
  369.             // line 151
  370.             echo "
  371. \t\t\t\t\t\t\t\t\t";
  372.             // line 152
  373.             $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"falsefalsefalse152), 'errors');
  374.             // line 153
  375.             echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  376.             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)) {
  377.                 echo " show";
  378.             }
  379.             echo "\" id=\"";
  380.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse153), "vars", [], "any"falsefalsefalse153), "id", [], "any"falsefalsefalse153), "html"nulltrue);
  381.             echo "_error\">";
  382.             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"nulltrue);
  383.             echo "</p>
  384. \t\t\t\t\t\t\t\t\t</div>
  385. \t\t\t\t\t\t\t\t";
  386.         }
  387.         // line 156
  388.         echo "\t\t\t\t\t\t\t\t<div class=\"form-group\">
  389. \t\t\t\t\t\t\t\t\t<label for=\"";
  390.         // line 157
  391.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse157), "first", [], "any"falsefalsefalse157), "vars", [], "any"falsefalsefalse157), "id", [], "any"falsefalsefalse157), "html"nulltrue);
  392.         echo "\">";
  393.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Пароль", [], "forms");
  394.         echo ":</label>
  395. \t\t\t\t\t\t\t\t\t";
  396.         // line 158
  397.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse158), "first", [], "any"falsefalsefalse158), 'widget', ["label" => "Выберите город:""attr" => ["class" => "form-control""required" => """placeholder" => "Введите пароль"]]);
  398.         // line 162
  399.         echo "
  400. \t\t\t\t\t\t\t\t\t";
  401.         // line 163
  402.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse163), "first", [], "any"falsefalsefalse163), 'errors');
  403.         // line 164
  404.         echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  405.         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)) {
  406.             echo " show";
  407.         }
  408.         echo "\" id=\"";
  409.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse164), "first", [], "any"falsefalsefalse164), "vars", [], "any"falsefalsefalse164), "id", [], "any"falsefalsefalse164), "html"nulltrue);
  410.         echo "_error\">";
  411.         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"nulltrue);
  412.         echo "</p>
  413. \t\t\t\t\t\t\t\t</div>
  414. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  415. \t\t\t\t\t\t\t\t\t<label for=\"";
  416.         // line 167
  417.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse167), "second", [], "any"falsefalsefalse167), "vars", [], "any"falsefalsefalse167), "id", [], "any"falsefalsefalse167), "html"nulltrue);
  418.         echo "\">";
  419.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Повторите пароль", [], "forms");
  420.         echo ":</label>
  421. \t\t\t\t\t\t\t\t\t";
  422.         // line 168
  423.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse168), "second", [], "any"falsefalsefalse168), 'widget', ["label" => "Выберите город:""attr" => ["class" => "form-control""required" => """placeholder" => "Повторите пароль"]]);
  424.         // line 172
  425.         echo "
  426. \t\t\t\t\t\t\t\t\t";
  427.         // line 173
  428.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse173), "second", [], "any"falsefalsefalse173), 'errors');
  429.         // line 174
  430.         echo "\t\t\t\t\t\t\t\t\t<p class=\"field-error";
  431.         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)) {
  432.             echo " show";
  433.         }
  434.         echo "\" id=\"";
  435.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse174), "second", [], "any"falsefalsefalse174), "vars", [], "any"falsefalsefalse174), "id", [], "any"falsefalsefalse174), "html"nulltrue);
  436.         echo "_error\">";
  437.         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"nulltrue);
  438.         echo "</p>
  439. \t\t\t\t\t\t\t\t</div>
  440. \t\t\t\t\t\t\t</div>
  441. \t\t\t\t\t\t</div>
  442. \t\t\t\t\t\t<div class=\"text-center\">
  443. \t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger rounding\" style=\"--rounding: 20px\">
  444. \t\t\t\t\t\t\t\t<span>Зарегистрироваться</span>
  445. \t\t\t\t\t\t\t</button>
  446. \t\t\t\t\t\t</div>
  447. \t\t\t\t\t\t";
  448.         // line 184
  449.         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');
  450.         echo "
  451. \t\t\t\t\t</div>
  452. \t\t\t\t</div>
  453.             </section>
  454.         </main>
  455.     ";
  456.         
  457.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  458.         
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  460.         
  461.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  462.     }
  463.     // line 192
  464.     public function block_javascripts($context, array $blocks = [])
  465.     {
  466.         $macros $this->macros;
  467.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  468.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  469.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  470.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  473.         // line 193
  474.         echo "    ";
  475.         $this->displayParentBlock("javascripts"$context$blocks);
  476.         echo "
  477.     <script>
  478.         (function () {
  479.             var type = document.getElementById('register_account_form_accountType');
  480.             if (!type) return;
  481.             type.value = 'advertiser';
  482.         })();
  483. \t\tfunction onTypes(self, selected) {
  484. \t\t\tvar list = document.getElementsByClassName('types-item');
  485. \t\t\tvar registerAccount = document.getElementById('register_account_form_accountType');
  486. \t\t\tif (list.length) {
  487. \t\t\t\tfor(var i = 0, j = list.length; i < j; i++) {
  488. \t\t\t\t\tlist[i].classList.remove(\"active\")
  489. \t\t\t\t}
  490. \t\t\t}
  491. \t\t\tif(selected === 'selected-tab-1') {
  492. \t\t\t\tregisterAccount.value = 'advertiser';
  493. \t\t\t}
  494. \t\t\tif(selected === 'selected-tab-2') {
  495. \t\t\t\tregisterAccount.value = 'customer';
  496. \t\t\t}
  497. \t\t\tself.classList.add(\"active\");
  498. \t\t}
  499. \t\tfunction onNext() {
  500. \t\t\tdocument.getElementById('registration-types').classList.add(\"d-none\");
  501. \t\t\tdocument.getElementById('registration-selected').classList.remove(\"d-none\");
  502. \t\t}
  503.     </script>
  504. ";
  505.         
  506.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  507.         
  508.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  509.         
  510.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  511.     }
  512.     /**
  513.      * @codeCoverageIgnore
  514.      */
  515.     public function getTemplateName()
  516.     {
  517.         return "security/register.html.twig";
  518.     }
  519.     /**
  520.      * @codeCoverageIgnore
  521.      */
  522.     public function isTraitable()
  523.     {
  524.         return false;
  525.     }
  526.     /**
  527.      * @codeCoverageIgnore
  528.      */
  529.     public function getDebugInfo()
  530.     {
  531.         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,);
  532.     }
  533.     public function getSourceContext()
  534.     {
  535.         return new Source("{% extends 'layout.html.twig' %}
  536. {% block title %}Регистрация на MosPros{% endblock %}
  537. {% block metaDescription %}
  538.     <meta name=\"description\" content=\"Зарегистрируйтесь на проекте MosPros\">{% endblock %}
  539. {% block name_page %}registration{% endblock %}
  540. {% block grid %}
  541.     {% block mainContainer %}
  542.         <main class=\"select-registration page-with-background d-flex\">
  543.             <div class=\"bg\"></div>
  544.             <section class=\"registration-container w-100\">
  545.                 <h1 role=\"heading\">Регистрация</h1>
  546. \t\t\t\t<div class=\"registration-types\" id=\"registration-types\">
  547. \t\t\t\t\t<p class=\"text-center\">Выберите тип регистрации</p>
  548. \t\t\t\t\t<div class=\"types-items d-flex flex-wrap\">
  549. \t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-1')\" class=\"types-item active\">
  550. \t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
  551. \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\">
  552. \t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
  553. \t\t\t\t\t\t\t\t\t<p class=\"type-title\">Рекламодатель</p>
  554. \t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Девушки, модели, проститутки, индивидуалки</p>
  555. \t\t\t\t\t\t\t\t</div>
  556. \t\t\t\t\t\t\t</div>
  557. \t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
  558. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
  559. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  560. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  561. \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>
  562. \t\t\t\t\t\t\t\t\t\t</svg>
  563. \t\t\t\t\t\t\t\t\t\tБесплатное размещение анкет
  564. \t\t\t\t\t\t\t\t\t</li>
  565. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  566. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  567. \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>
  568. \t\t\t\t\t\t\t\t\t\t</svg>
  569. \t\t\t\t\t\t\t\t\t\tБесплатная регистрация
  570. \t\t\t\t\t\t\t\t\t</li>
  571. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  572. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  573. \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>
  574. \t\t\t\t\t\t\t\t\t\t</svg>
  575. \t\t\t\t\t\t\t\t\t\tПочасовая оплата премиум-функций
  576. \t\t\t\t\t\t\t\t\t</li>
  577. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  578. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  579. \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>
  580. \t\t\t\t\t\t\t\t\t\t</svg>
  581. \t\t\t\t\t\t\t\t\t\tДесятки тысяч потенциальных клиентов ежедневно
  582. \t\t\t\t\t\t\t\t\t</li>
  583. \t\t\t\t\t\t\t\t</ul>
  584. \t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t</div>
  586. \t\t\t\t\t\t<div onclick=\"onTypes(this, 'selected-tab-2')\" class=\"types-item\">
  587. \t\t\t\t\t\t\t<div class=\"type mb-3 mb-sm-4 d-flex flex-lg-column\">
  588. \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\">
  589. \t\t\t\t\t\t\t\t<div class=\"text-lg-center\">
  590. \t\t\t\t\t\t\t\t\t<p class=\"type-title\">Дон</p>
  591. \t\t\t\t\t\t\t\t\t<p class=\"type-description m-0\">Пользователь, интересующийся девушками</p>
  592. \t\t\t\t\t\t\t\t</div>
  593. \t\t\t\t\t\t\t</div>
  594. \t\t\t\t\t\t\t<div class=\"type-content mb-3 mb-sm-4\">
  595. \t\t\t\t\t\t\t\t<ul class=\"list-unstyled\">
  596. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  597. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  598. \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>
  599. \t\t\t\t\t\t\t\t\t\t</svg>
  600. \t\t\t\t\t\t\t\t\t\tБесплатная регистрация
  601. \t\t\t\t\t\t\t\t\t</li>
  602. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  603. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  604. \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>
  605. \t\t\t\t\t\t\t\t\t\t</svg>
  606. \t\t\t\t\t\t\t\t\t\tАвто-подбор свежих и актуальных анкет
  607. \t\t\t\t\t\t\t\t\t</li>
  608. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  609. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  610. \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>
  611. \t\t\t\t\t\t\t\t\t\t</svg>
  612. \t\t\t\t\t\t\t\t\t\tОтзывы и общение
  613. \t\t\t\t\t\t\t\t\t</li>
  614. \t\t\t\t\t\t\t\t\t<li class=\"d-flex\">
  615. \t\t\t\t\t\t\t\t\t\t<svg class=\"icon mr-2\">
  616. \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>
  617. \t\t\t\t\t\t\t\t\t\t</svg>
  618. \t\t\t\t\t\t\t\t\t\tИзбранные девушки
  619. \t\t\t\t\t\t\t\t\t</li>
  620. \t\t\t\t\t\t\t\t</ul>
  621. \t\t\t\t\t\t\t</div>
  622. \t\t\t\t\t\t</div>
  623. \t\t\t\t\t</div>
  624. \t\t\t\t\t<div class=\"text-center\">
  625. \t\t\t\t\t\t<button class=\"btn btn-danger rounding\" onclick=\"onNext()\" style=\"--rounding: 20px; width: 120px;\">Далее</button>
  626. \t\t\t\t\t</div>
  627. \t\t\t\t</div>
  628. \t\t\t\t<div class=\"registration-selected d-none\" id=\"registration-selected\">
  629. \t\t\t\t\t<div class=\"selected-tab\">
  630. \t\t\t\t\t\t{{ form_start(form) }}
  631. \t\t\t\t\t\t<div class=\"error\">{{ form_errors(form) }}</div>
  632. \t\t\t\t\t\t<div class=\"row mb-2 mb-md-3\">
  633. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  634. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  635. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.nickName.vars.id }}\">{% trans with {} from 'forms' %}Ник{% endtrans %}:</label>
  636. \t\t\t\t\t\t\t\t\t{#{{ last_username }}#}
  637. \t\t\t\t\t\t\t\t\t{{ form_widget(form.nickName, {'label': 'Введите Ник', 'attr': {
  638. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  639. \t\t\t\t\t\t\t\t\t\t'aria-describedby':'nickName',
  640. \t\t\t\t\t\t\t\t\t\t'placeholder':'Введите Ник',
  641. \t\t\t\t\t\t\t\t\t\t'required':'',
  642. \t\t\t\t\t\t\t\t\t\t'autofocus':''
  643. \t\t\t\t\t\t\t\t\t}}) }}
  644. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.nickName) %}
  645. \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>
  646. \t\t\t\t\t\t\t\t</div>
  647. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  648. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.email.vars.id }}\">{% trans with {} from 'forms' %}E-mail{% endtrans %}:</label>
  649. \t\t\t\t\t\t\t\t\t{{ form_widget(form.email, {'label': 'Введите E-mail', 'attr': {
  650. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  651. \t\t\t\t\t\t\t\t\t\t'aria-describedby':'email',
  652. \t\t\t\t\t\t\t\t\t\t'placeholder':'Введите E-mail',
  653. \t\t\t\t\t\t\t\t\t\t'required':''
  654. \t\t\t\t\t\t\t\t\t}}) }}
  655. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.email) %}
  656. \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>
  657. \t\t\t\t\t\t\t\t</div>
  658. \t\t\t\t\t\t\t\t{% if form.city is defined %}
  659. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  660. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.city.vars.id }}\">{% trans with {} from 'forms' %}Выберите город{% endtrans %}:</label>
  661. \t\t\t\t\t\t\t\t\t{{ form_widget(form.city, {'label': 'Выберите город:', 'attr': {
  662. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  663. \t\t\t\t\t\t\t\t\t\t'aria-describedby':'city',
  664. \t\t\t\t\t\t\t\t\t\t'required':''
  665. \t\t\t\t\t\t\t\t\t}}) }}
  666. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.city) %}
  667. \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>
  668. \t\t\t\t\t\t\t\t\t</div>
  669. \t\t\t\t\t\t\t\t{% endif %}
  670. \t\t\t\t\t\t\t</div>
  671. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  672. \t\t\t\t\t\t\t\t{% if form.country is defined %}
  673. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  674. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.country.vars.id }}\">{% trans with {} from 'forms' %}Выберите страну{% endtrans %}:</label>
  675. \t\t\t\t\t\t\t\t\t{{ form_widget(form.country, {'label': 'Выберите страну:', 'attr': {
  676. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  677. \t\t\t\t\t\t\t\t\t\t'aria-describedby':'city',
  678. \t\t\t\t\t\t\t\t\t\t'required':''
  679. \t\t\t\t\t\t\t\t\t}}) }}
  680. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.country) %}
  681. \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>
  682. \t\t\t\t\t\t\t\t\t</div>
  683. \t\t\t\t\t\t\t\t{% endif %}
  684. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  685. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.plainPassword.first.vars.id }}\">{% trans with {} from 'forms' %}Пароль{% endtrans %}:</label>
  686. \t\t\t\t\t\t\t\t\t{{ form_widget(form.plainPassword.first, {'label': 'Выберите город:', 'attr': {
  687. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  688. \t\t\t\t\t\t\t\t\t\t'required':'',
  689. \t\t\t\t\t\t\t\t\t\t'placeholder': 'Введите пароль'
  690. \t\t\t\t\t\t\t\t\t}}) }}
  691. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.plainPassword.first) %}
  692. \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>
  693. \t\t\t\t\t\t\t\t</div>
  694. \t\t\t\t\t\t\t\t<div class=\"form-group\">
  695. \t\t\t\t\t\t\t\t\t<label for=\"{{ form.plainPassword.second.vars.id }}\">{% trans with {} from 'forms' %}Повторите пароль{% endtrans %}:</label>
  696. \t\t\t\t\t\t\t\t\t{{ form_widget(form.plainPassword.second, {'label': 'Выберите город:', 'attr': {
  697. \t\t\t\t\t\t\t\t\t\t'class': 'form-control',
  698. \t\t\t\t\t\t\t\t\t\t'required':'',
  699. \t\t\t\t\t\t\t\t\t\t'placeholder': 'Повторите пароль'
  700. \t\t\t\t\t\t\t\t\t}}) }}
  701. \t\t\t\t\t\t\t\t\t{% set error_message = form_errors(form.plainPassword.second) %}
  702. \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>
  703. \t\t\t\t\t\t\t\t</div>
  704. \t\t\t\t\t\t\t</div>
  705. \t\t\t\t\t\t</div>
  706. \t\t\t\t\t\t<div class=\"text-center\">
  707. \t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-danger rounding\" style=\"--rounding: 20px\">
  708. \t\t\t\t\t\t\t\t<span>Зарегистрироваться</span>
  709. \t\t\t\t\t\t\t</button>
  710. \t\t\t\t\t\t</div>
  711. \t\t\t\t\t\t{{ form_end(form) }}
  712. \t\t\t\t\t</div>
  713. \t\t\t\t</div>
  714.             </section>
  715.         </main>
  716.     {% endblock %}
  717. {% endblock %}
  718. {% block javascripts %}
  719.     {{ parent() }}
  720.     <script>
  721.         (function () {
  722.             var type = document.getElementById('register_account_form_accountType');
  723.             if (!type) return;
  724.             type.value = 'advertiser';
  725.         })();
  726. \t\tfunction onTypes(self, selected) {
  727. \t\t\tvar list = document.getElementsByClassName('types-item');
  728. \t\t\tvar registerAccount = document.getElementById('register_account_form_accountType');
  729. \t\t\tif (list.length) {
  730. \t\t\t\tfor(var i = 0, j = list.length; i < j; i++) {
  731. \t\t\t\t\tlist[i].classList.remove(\"active\")
  732. \t\t\t\t}
  733. \t\t\t}
  734. \t\t\tif(selected === 'selected-tab-1') {
  735. \t\t\t\tregisterAccount.value = 'advertiser';
  736. \t\t\t}
  737. \t\t\tif(selected === 'selected-tab-2') {
  738. \t\t\t\tregisterAccount.value = 'customer';
  739. \t\t\t}
  740. \t\t\tself.classList.add(\"active\");
  741. \t\t}
  742. \t\tfunction onNext() {
  743. \t\t\tdocument.getElementById('registration-types').classList.add(\"d-none\");
  744. \t\t\tdocument.getElementById('registration-selected').classList.remove(\"d-none\");
  745. \t\t}
  746.     </script>
  747. {% endblock %}
  748. ""security/register.html.twig""/app/templates/security/register.html.twig");
  749.     }
  750. }