var/cache/dev/twig/be/bee229aeff88bc9ccd58a0f5609135afac237b5049ccd5245f0be4e49dc819cc.php line 49

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. /* registration\register.html.twig */
  14. class __TwigTemplate_c656c24ad6f34c8a8bfedd8cbbe6839c5e2e5987542fb2c5b2bf5be162066562 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.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""registration\\register.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""registration\\register.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""registration\\register.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Регистрация";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "    <div class=\"content-background\">
  70.         <div class=\"uk-section-large\">
  71.             <div class=\"uk-container uk-container-large\">
  72.                 <div uk-grid class=\"uk-child-width-1-1@s uk-child-width-2-3@l\">
  73.                     <div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
  74.                     <div class=\"uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl\">
  75.                         <div class=\"uk-card uk-card-default\">
  76.                             <div class=\"uk-card-body\">
  77.                                 <h1>Регистрация</h1>
  78.                                 ";
  79.         // line 15
  80.         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.'15$this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("create_account"), "method" => "POST"]);
  81.         echo "
  82.                                 <fieldset class=\"uk-fieldset\">
  83.                                     <div class=\"uk-margin\">
  84.                                         <div class=\"uk-position-relative\">
  85.                                             <span class=\"uk-form-icon ion-edit\"></span>
  86.                                                 ";
  87.         // line 20
  88.         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.'20$this->source); })()), "user", [], "any"falsefalsefalse20), "username", [], "any"falsefalsefalse20), 'widget');
  89.         echo "
  90.                                         </div>
  91.                                     </div>
  92.                                     <div class=\"uk-margin\">
  93.                                         <div class=\"uk-position-relative\">
  94.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  95.                                                 ";
  96.         // line 26
  97.         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.'26$this->source); })()), "user", [], "any"falsefalsefalse26), "email", [], "any"falsefalsefalse26), 'widget');
  98.         echo "
  99.                                         </div>
  100.                                     </div>
  101.                                     <div class=\"uk-margin\">
  102.                                         <div class=\"uk-position-relative\">
  103.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  104.                                                 ";
  105.         // line 32
  106.         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.'32$this->source); })()), "user", [], "any"falsefalsefalse32), "inn", [], "any"falsefalsefalse32), 'widget');
  107.         echo "
  108.                                         </div>
  109.                                     </div>
  110.                                     <div class=\"uk-margin\">
  111.                                         <div class=\"uk-position-relative\">
  112.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  113.                                                 ";
  114.         // line 38
  115.         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.'38$this->source); })()), "user", [], "any"falsefalsefalse38), "phone", [], "any"falsefalsefalse38), 'widget');
  116.         echo "
  117.                                         </div>
  118.                                     </div>
  119.                                     <div class=\"uk-margin\">
  120.                                         <div class=\"uk-position-relative\">
  121.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  122.                                             ";
  123.         // line 44
  124.         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.'44$this->source); })()), "user", [], "any"falsefalsefalse44), "quality_control_phone", [], "any"falsefalsefalse44), 'widget');
  125.         echo "
  126.                                         </div>
  127.                                     </div>
  128.                                     <div class=\"uk-margin\">
  129.                                         <div class=\"uk-position-relative\">
  130.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  131.                                                 ";
  132.         // line 50
  133.         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.'50$this->source); })()), "user", [], "any"falsefalsefalse50), "name", [], "any"falsefalsefalse50), 'widget');
  134.         echo "
  135.                                         </div>
  136.                                     </div>
  137.                                     <div class=\"uk-margin\">
  138.                                         <div class=\"uk-position-relative\">
  139.                                                 ";
  140.         // line 55
  141.         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.'55$this->source); })()), "user", [], "any"falsefalsefalse55), "password", [], "any"falsefalsefalse55), 'widget');
  142.         echo "
  143.                                         </div>
  144.                                     </div>
  145.                                     ";
  146.         // line 58
  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.'58$this->source); })()), "terms", [], "any"falsefalsefalse58), 'row');
  148.         echo "
  149.                                     <div class=\"uk-margin\">
  150.                                         <button type=\"submit\" class=\"uk-button uk-button-primary\">
  151.                                             <span class=\"ion-forward\"></span>&nbsp; Зарегистрироваться
  152.                                         </button>
  153.                                     </div>
  154.                                     <hr>
  155.                                     <center>
  156.                                         <p>
  157.                                             Уже есть учетная запись?
  158.                                         </p>
  159.                                         <a href=\"";
  160.         // line 69
  161.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  162.         echo "\" class=\"uk-button uk-button-default\">
  163.                                             <span class=\"ion-android-person\"></span>&nbsp; Войти
  164.                                         </a>
  165.                                     </center>
  166.                                 </fieldset>
  167.                                 ";
  168.         // line 74
  169.         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.'74$this->source); })()), 'form_end');
  170.         echo "
  171.                             </div>
  172.                         </div>
  173.                     </div>
  174.                     <div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
  175.                 </div>
  176.             </div>
  177.         </div>
  178.     </div>
  179. ";
  180.         
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  182.         
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  184.     }
  185.     public function getTemplateName()
  186.     {
  187.         return "registration\\register.html.twig";
  188.     }
  189.     public function isTraitable()
  190.     {
  191.         return false;
  192.     }
  193.     public function getDebugInfo()
  194.     {
  195.         return array (  188 => 74,  180 => 69,  166 => 58,  160 => 55,  152 => 50,  143 => 44,  134 => 38,  125 => 32,  116 => 26,  107 => 20,  99 => 15,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  196.     }
  197.     public function getSourceContext()
  198.     {
  199.         return new Source("{% extends 'base.html.twig' %}
  200. {% block title %}Регистрация{% endblock %}
  201. {% block body %}
  202.     <div class=\"content-background\">
  203.         <div class=\"uk-section-large\">
  204.             <div class=\"uk-container uk-container-large\">
  205.                 <div uk-grid class=\"uk-child-width-1-1@s uk-child-width-2-3@l\">
  206.                     <div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
  207.                     <div class=\"uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl\">
  208.                         <div class=\"uk-card uk-card-default\">
  209.                             <div class=\"uk-card-body\">
  210.                                 <h1>Регистрация</h1>
  211.                                 {{ form_start(form, {'action': path('create_account'), 'method': 'POST'}) }}
  212.                                 <fieldset class=\"uk-fieldset\">
  213.                                     <div class=\"uk-margin\">
  214.                                         <div class=\"uk-position-relative\">
  215.                                             <span class=\"uk-form-icon ion-edit\"></span>
  216.                                                 {{ form_widget(form.user.username) }}
  217.                                         </div>
  218.                                     </div>
  219.                                     <div class=\"uk-margin\">
  220.                                         <div class=\"uk-position-relative\">
  221.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  222.                                                 {{ form_widget(form.user.email) }}
  223.                                         </div>
  224.                                     </div>
  225.                                     <div class=\"uk-margin\">
  226.                                         <div class=\"uk-position-relative\">
  227.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  228.                                                 {{ form_widget(form.user.inn) }}
  229.                                         </div>
  230.                                     </div>
  231.                                     <div class=\"uk-margin\">
  232.                                         <div class=\"uk-position-relative\">
  233.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  234.                                                 {{ form_widget(form.user.phone) }}
  235.                                         </div>
  236.                                     </div>
  237.                                     <div class=\"uk-margin\">
  238.                                         <div class=\"uk-position-relative\">
  239.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  240.                                             {{ form_widget(form.user.quality_control_phone) }}
  241.                                         </div>
  242.                                     </div>
  243.                                     <div class=\"uk-margin\">
  244.                                         <div class=\"uk-position-relative\">
  245.                                             <span class=\"uk-form-icon ion-android-person\"></span>
  246.                                                 {{ form_widget(form.user.name) }}
  247.                                         </div>
  248.                                     </div>
  249.                                     <div class=\"uk-margin\">
  250.                                         <div class=\"uk-position-relative\">
  251.                                                 {{ form_widget(form.user.password) }}
  252.                                         </div>
  253.                                     </div>
  254.                                     {{ form_row(form.terms) }}
  255.                                     <div class=\"uk-margin\">
  256.                                         <button type=\"submit\" class=\"uk-button uk-button-primary\">
  257.                                             <span class=\"ion-forward\"></span>&nbsp; Зарегистрироваться
  258.                                         </button>
  259.                                     </div>
  260.                                     <hr>
  261.                                     <center>
  262.                                         <p>
  263.                                             Уже есть учетная запись?
  264.                                         </p>
  265.                                         <a href=\"{{ path('app_login') }}\" class=\"uk-button uk-button-default\">
  266.                                             <span class=\"ion-android-person\"></span>&nbsp; Войти
  267.                                         </a>
  268.                                     </center>
  269.                                 </fieldset>
  270.                                 {{ form_end(form) }}
  271.                             </div>
  272.                         </div>
  273.                     </div>
  274.                     <div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
  275.                 </div>
  276.             </div>
  277.         </div>
  278.     </div>
  279. {% endblock %}""registration\\register.html.twig""/var/www/templates/registration/register.html.twig");
  280.     }
  281. }