<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* registration\register.html.twig */
class __TwigTemplate_c656c24ad6f34c8a8bfedd8cbbe6839c5e2e5987542fb2c5b2bf5be162066562 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration\\register.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration\\register.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "registration\\register.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Регистрация";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo " <div class=\"content-background\">
<div class=\"uk-section-large\">
<div class=\"uk-container uk-container-large\">
<div uk-grid class=\"uk-child-width-1-1@s uk-child-width-2-3@l\">
<div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
<div class=\"uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl\">
<div class=\"uk-card uk-card-default\">
<div class=\"uk-card-body\">
<h1>Регистрация</h1>
";
// line 15
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"]);
echo "
<fieldset class=\"uk-fieldset\">
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-edit\"></span>
";
// line 20
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 20, $this->source); })()), "user", [], "any", false, false, false, 20), "username", [], "any", false, false, false, 20), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
";
// line 26
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "email", [], "any", false, false, false, 26), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
";
// line 32
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32), "inn", [], "any", false, false, false, 32), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 38, $this->source); })()), "user", [], "any", false, false, false, 38), "phone", [], "any", false, false, false, 38), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
";
// line 44
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 44, $this->source); })()), "user", [], "any", false, false, false, 44), "quality_control_phone", [], "any", false, false, false, 44), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
";
// line 50
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 50, $this->source); })()), "user", [], "any", false, false, false, 50), "name", [], "any", false, false, false, 50), 'widget');
echo "
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
";
// line 55
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 55, $this->source); })()), "user", [], "any", false, false, false, 55), "password", [], "any", false, false, false, 55), 'widget');
echo "
</div>
</div>
";
// line 58
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", false, false, false, 58), 'row');
echo "
<div class=\"uk-margin\">
<button type=\"submit\" class=\"uk-button uk-button-primary\">
<span class=\"ion-forward\"></span> Зарегистрироваться
</button>
</div>
<hr>
<center>
<p>
Уже есть учетная запись?
</p>
<a href=\"";
// line 69
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\" class=\"uk-button uk-button-default\">
<span class=\"ion-android-person\"></span> Войти
</a>
</center>
</fieldset>
";
// line 74
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');
echo "
</div>
</div>
</div>
<div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "registration\\register.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Регистрация{% endblock %}
{% block body %}
<div class=\"content-background\">
<div class=\"uk-section-large\">
<div class=\"uk-container uk-container-large\">
<div uk-grid class=\"uk-child-width-1-1@s uk-child-width-2-3@l\">
<div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
<div class=\"uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl\">
<div class=\"uk-card uk-card-default\">
<div class=\"uk-card-body\">
<h1>Регистрация</h1>
{{ form_start(form, {'action': path('create_account'), 'method': 'POST'}) }}
<fieldset class=\"uk-fieldset\">
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-edit\"></span>
{{ form_widget(form.user.username) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
{{ form_widget(form.user.email) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
{{ form_widget(form.user.inn) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
{{ form_widget(form.user.phone) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
{{ form_widget(form.user.quality_control_phone) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
<span class=\"uk-form-icon ion-android-person\"></span>
{{ form_widget(form.user.name) }}
</div>
</div>
<div class=\"uk-margin\">
<div class=\"uk-position-relative\">
{{ form_widget(form.user.password) }}
</div>
</div>
{{ form_row(form.terms) }}
<div class=\"uk-margin\">
<button type=\"submit\" class=\"uk-button uk-button-primary\">
<span class=\"ion-forward\"></span> Зарегистрироваться
</button>
</div>
<hr>
<center>
<p>
Уже есть учетная запись?
</p>
<a href=\"{{ path('app_login') }}\" class=\"uk-button uk-button-default\">
<span class=\"ion-android-person\"></span> Войти
</a>
</center>
</fieldset>
{{ form_end(form) }}
</div>
</div>
</div>
<div class=\"uk-width-1-1@s uk-width-1-5@l uk-width-1-3@xl\"></div>
</div>
</div>
</div>
</div>
{% endblock %}", "registration\\register.html.twig", "/var/www/templates/registration/register.html.twig");
}
}