var/cache/dev/twig/ea/ea6a7719a17074c7b919001c9f6411d385d3c5a54ad6348017d17cfb31d6dc8a.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* application/auth/register.html.twig */
  15. class __TwigTemplate_f73b4c585734e281651f30e18c02aa35914a281916c516744cc9362459aad2dd extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.             'scripts' => [$this'block_scripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "application/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/auth/register.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""application/auth/register.html.twig"));
  40.         $this->parent $this->loadTemplate("application/layout.html.twig""application/auth/register.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         yield "    <main class=\"main auth\">
  57.         <div class=\"auth__photo\">
  58.             <picture>
  59.                 <source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
  60.                 <img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
  61.             </picture>
  62.         </div>
  63.         <div class=\"auth__content\">
  64.             <h1 class=\"auth__title\">Регистрация</h1>
  65.             <form id=\"form\" method=\"post\" class=\"form box box--outline\">
  66.                 <input name=\"token\" type=\"hidden\" />
  67.                 <div class=\"form__group\">
  68.                     <input name=\"name\" type=\"text\" class=\"form__control\" placeholder=\"Имя\" required>
  69.                 </div>
  70.                 <div class=\"form__group\">
  71.                     <input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" required id=\"a-phone\">
  72.                 </div>
  73.                 <div class=\"form__group\">
  74.                     <input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
  75.                 </div>
  76. ";
  77.         // line 28
  78.         yield "                <div class=\"form__btn\">
  79.                     <button type=\"submit\" class=\"btn btn--block\">
  80.                         <span class=\"btn__text\">зарегистрироваться</span>
  81.                     </button>
  82.                 </div>
  83.                 <div class=\"form__help\">
  84.                     Нажимая кнопку «Зарегистрироваться», я даю <a href=\"";
  85.         // line 34
  86.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("agreement");
  87.         yield "\" target=\"_blank\">согласие</a> на&nbsp;обработку персональных данных.
  88.                 </div>
  89.                 <div class=\"form__help\">
  90.                     This site is&nbsp;protected by&nbsp;reCAPTCHA and the Google
  91.                     <a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
  92.                     and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
  93.                 </div>
  94.             </form>
  95.             <div class=\"auth__more more\">
  96.                 <a href=\"";
  97.         // line 43
  98.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  99.         yield "\" class=\"more__link\">
  100.                     <span class=\"more__icon\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.854 12.867a.536.536 0 0 1-.708 0l-5-4.546a.426.426 0 0 1 0-.642l5-4.546a.536.536 0 0 1 .708 0 .426.426 0 0 1 0 .643L6.207 8l4.647 4.224a.426.426 0 0 1 0 .643z\"></path></svg></span>
  101.                     <span class=\"more__text\">Вернуться назад</span>
  102.                 </a>
  103.             </div>
  104.         </div>
  105.     </main>
  106. ";
  107.         
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  109.         
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  111.         return; yield '';
  112.     }
  113.     // line 52
  114.     public function block_scripts($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  121.         // line 53
  122.         yield "<script>
  123.     \$('#form').on('submit', function () {
  124.         return submitFormWithCaptcha(\$(this));
  125.     });
  126. </script>
  127. ";
  128.         
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  130.         
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  132.         return; yield '';
  133.     }
  134.     /**
  135.      * @codeCoverageIgnore
  136.      */
  137.     public function getTemplateName()
  138.     {
  139.         return "application/auth/register.html.twig";
  140.     }
  141.     /**
  142.      * @codeCoverageIgnore
  143.      */
  144.     public function isTraitable()
  145.     {
  146.         return false;
  147.     }
  148.     /**
  149.      * @codeCoverageIgnore
  150.      */
  151.     public function getDebugInfo()
  152.     {
  153.         return array (  141 => 53,  131 => 52,  112 => 43,  100 => 34,  92 => 28,  70 => 4,  60 => 3,  37 => 1,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{% extends 'application/layout.html.twig' %}
  158. {% block content %}
  159.     <main class=\"main auth\">
  160.         <div class=\"auth__photo\">
  161.             <picture>
  162.                 <source type=\"image/webp\" srcset=\"/img/bg-auth@1x.webp 1x, /img/bg-auth@2x.webp 2x\">
  163.                 <img src=\"/img/bg-auth@1x.jpg\" srcset=\"/img/bg-auth@2x.jpg 2x\" alt=\"\" width=\"690\" height=\"827\">
  164.             </picture>
  165.         </div>
  166.         <div class=\"auth__content\">
  167.             <h1 class=\"auth__title\">Регистрация</h1>
  168.             <form id=\"form\" method=\"post\" class=\"form box box--outline\">
  169.                 <input name=\"token\" type=\"hidden\" />
  170.                 <div class=\"form__group\">
  171.                     <input name=\"name\" type=\"text\" class=\"form__control\" placeholder=\"Имя\" required>
  172.                 </div>
  173.                 <div class=\"form__group\">
  174.                     <input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" required id=\"a-phone\">
  175.                 </div>
  176.                 <div class=\"form__group\">
  177.                     <input name=\"email\" type=\"email\" class=\"form__control\" placeholder=\"www@mymail.ru\" required>
  178.                 </div>
  179. {#                <div class=\"form__check\">#}
  180. {#                    <input type=\"checkbox\" value=\"\" id=\"checkbox01\">#}
  181. {#                    <label for=\"checkbox01\">Получать рекламные материалы</label>#}
  182. {#                </div>#}
  183.                 <div class=\"form__btn\">
  184.                     <button type=\"submit\" class=\"btn btn--block\">
  185.                         <span class=\"btn__text\">зарегистрироваться</span>
  186.                     </button>
  187.                 </div>
  188.                 <div class=\"form__help\">
  189.                     Нажимая кнопку «Зарегистрироваться», я даю <a href=\"{{ path('agreement') }}\" target=\"_blank\">согласие</a> на&nbsp;обработку персональных данных.
  190.                 </div>
  191.                 <div class=\"form__help\">
  192.                     This site is&nbsp;protected by&nbsp;reCAPTCHA and the Google
  193.                     <a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
  194.                     and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
  195.                 </div>
  196.             </form>
  197.             <div class=\"auth__more more\">
  198.                 <a href=\"{{ path('login') }}\" class=\"more__link\">
  199.                     <span class=\"more__icon\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.854 12.867a.536.536 0 0 1-.708 0l-5-4.546a.426.426 0 0 1 0-.642l5-4.546a.536.536 0 0 1 .708 0 .426.426 0 0 1 0 .643L6.207 8l4.647 4.224a.426.426 0 0 1 0 .643z\"></path></svg></span>
  200.                     <span class=\"more__text\">Вернуться назад</span>
  201.                 </a>
  202.             </div>
  203.         </div>
  204.     </main>
  205. {% endblock %}
  206. {% block scripts %}
  207. <script>
  208.     \$('#form').on('submit', function () {
  209.         return submitFormWithCaptcha(\$(this));
  210.     });
  211. </script>
  212. {% endblock %}""application/auth/register.html.twig""/var/www/html/templates/application/auth/register.html.twig");
  213.     }
  214. }