var/cache/dev/twig/5b/5b72cd65d00812336c7f8395cd401977.php line 44
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\CoreExtension;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;use Twig\TemplateWrapper;/* registration/register.html.twig */class __TwigTemplate_afd05524b4ce975d7ed0fdfec48d4f4c extends Template{private Source $source;/*** @var array<string, Template>*/private array $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['content' => [$this, 'block_content'],'header' => [$this, 'block_header'],];}protected function doGetParent(array $context): bool|string|Template|TemplateWrapper{// line 1return "@web/base.html.twig";}protected function doDisplay(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration/register.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration/register.html.twig"));$this->parent = $this->loadTemplate("@web/base.html.twig", "registration/register.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3/*** @return iterable<null|scalar|\Stringable>*/public function block_content(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));// line 4yield " <section class=\"content-login register\">";// line 5yield from $this->unwrap()->yieldBlock('header', $context, $blocks);// line 8yield " <div class=\"container-fluid\"><div class=\"form-content form-register\"><div class=\"form-texts\"><h1 class=\"header\">";// line 13yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("գրանցում"), "html", null, true);yield "</h1><h2 class=\"sub-header\">";// line 16yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Գրանցվիր և ստացիր հատուկ առաջարկներ"), "html", null, true);yield "</h2></div>";// line 19yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 19, $this->source); })()), 'form_start');yield "<div class=\"wrapper-inputs\"><div class=\"input-box\">";// line 22yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 22, $this->source); })()), "email", [], "any", false, false, false, 22), 'row');yield "";// line 23yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 23, $this->source); })()), "email", [], "any", false, false, false, 23), 'errors');yield "</div><div class=\"input-box\">";// line 27yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 27, $this->source); })()), "password", [], "any", false, false, false, 27), 'row');yield "";// line 28yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 28, $this->source); })()), "password", [], "any", false, false, false, 28), 'errors');yield "</div><div class=\"name-row\"><div class=\"input-box input-box-firstName\">";// line 33yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 33, $this->source); })()), "name", [], "any", false, false, false, 33), 'row');yield "";// line 34yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 34, $this->source); })()), "name", [], "any", false, false, false, 34), 'errors');yield "</div><div class=\"input-box input-box-lastName\">";// line 37yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 37, $this->source); })()), "surName", [], "any", false, false, false, 37), 'row');yield "";// line 38yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 38, $this->source); })()), "surName", [], "any", false, false, false, 38), 'errors');yield "</div></div><div class=\"input-box\">";// line 42yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 42, $this->source); })()), "phone", [], "any", false, false, false, 42), 'row');yield "";// line 43yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 43, $this->source); })()), "phone", [], "any", false, false, false, 43), 'errors');yield "</div><div class=\"info-row\"><div class=\"input-box input-box-birthDate\">";// line 48yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 48, $this->source); })()), "birthdate", [], "any", false, false, false, 48), 'row');yield "";// line 49yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 49, $this->source); })()), "birthdate", [], "any", false, false, false, 49), 'errors');yield "</div><div class=\"input-box input-box-gender\"><label class=\"input-label\" for=\"login-password\">";// line 53yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Սեռ*"), "html", null, true);yield "</label><div class=\"radio-inputs\"><div class=\"gender-radio\">";// line 56$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 56, $this->source); })()), "gender", [], "any", false, false, false, 56));foreach ($context['_seq'] as $context["_key"] => $context["choice"]) {// line 57yield " ";yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["choice"], 'widget', ["attr" => ["class" => "radio-input form-check-input"]]);yield "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_key'], $context['choice'], $context['_parent']);$context = array_intersect_key($context, $_parent) + $_parent;// line 59yield " </div></div>";// line 61yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 61, $this->source); })()), "gender", [], "any", false, false, false, 61), 'errors');yield "</div></div><div class=\"input-box\">";// line 67yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 67, $this->source); })()), "country", [], "any", false, false, false, 67), 'row');yield "";// line 68yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 68, $this->source); })()), "country", [], "any", false, false, false, 68), 'errors');yield "</div><div class=\"input-box\">";// line 72yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 72, $this->source); })()), "city", [], "any", false, false, false, 72), 'row');yield "";// line 73yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 73, $this->source); })()), "city", [], "any", false, false, false, 73), 'errors');yield "</div></div><div class=\"wrapper-button\"><button type=\"submit\" class=\"btn-red\"><span>";// line 80yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Գրանցվել"), "html", null, true);yield "</span></button></div>";// line 84yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 84, $this->source); })()), 'form_end');yield "<div class=\"wrapper-register\"><span>";// line 86yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Արդեն գրանցվա՞ծ եք"), "html", null, true);yield "</span><a href=\"";yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");yield "\">";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Մուտք գործեք հիմա"), "html", null, true);yield "</a></div><div class=\"wrapper-attention\"><div class=\"attention-message\"><p>";// line 91yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Առաջարկ"), "html", null, true));yield "</p></div></div></div></div></section>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}// line 5/*** @return iterable<null|scalar|\Stringable>*/public function block_header(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));// line 6yield " ";yield from $this->loadTemplate("@web/parts/header.html.twig", "registration/register.html.twig", 6)->unwrap()->yield($context);// line 7yield " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}/*** @codeCoverageIgnore*/public function getTemplateName(): string{return "registration/register.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(): bool{return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(): array{return array ( 289 => 7, 286 => 6, 273 => 5, 255 => 91, 243 => 86, 238 => 84, 231 => 80, 221 => 73, 217 => 72, 210 => 68, 206 => 67, 197 => 61, 193 => 59, 184 => 57, 180 => 56, 174 => 53, 167 => 49, 163 => 48, 155 => 43, 151 => 42, 144 => 38, 140 => 37, 134 => 34, 130 => 33, 122 => 28, 118 => 27, 111 => 23, 107 => 22, 101 => 19, 95 => 16, 89 => 13, 82 => 8, 80 => 5, 77 => 4, 64 => 3, 41 => 1,);}public function getSourceContext(): Source{return new Source("{% extends '@web/base.html.twig' %}{% block content %}<section class=\"content-login register\">{% block header %}{% include '@web/parts/header.html.twig' %}{% endblock %}<div class=\"container-fluid\"><div class=\"form-content form-register\"><div class=\"form-texts\"><h1 class=\"header\">{{ 'գրանցում'|trans }}</h1><h2 class=\"sub-header\">{{ 'Գրանցվիր և ստացիր հատուկ առաջարկներ'|trans }}</h2></div>{{ form_start(registrationForm) }}<div class=\"wrapper-inputs\"><div class=\"input-box\">{{ form_row(registrationForm.email) }}{{ form_errors(registrationForm.email) }}</div><div class=\"input-box\">{{ form_row(registrationForm.password) }}{{ form_errors(registrationForm.password) }}</div><div class=\"name-row\"><div class=\"input-box input-box-firstName\">{{ form_row(registrationForm.name) }}{{ form_errors(registrationForm.name) }}</div><div class=\"input-box input-box-lastName\">{{ form_row(registrationForm.surName) }}{{ form_errors(registrationForm.surName) }}</div></div><div class=\"input-box\">{{ form_row(registrationForm.phone) }}{{ form_errors(registrationForm.phone) }}</div><div class=\"info-row\"><div class=\"input-box input-box-birthDate\">{{ form_row(registrationForm.birthdate) }}{{ form_errors(registrationForm.birthdate) }}</div><div class=\"input-box input-box-gender\"><label class=\"input-label\" for=\"login-password\">{{ 'Սեռ*'|trans }}</label><div class=\"radio-inputs\"><div class=\"gender-radio\">{% for choice in registrationForm.gender %}{{ form_widget(choice, { 'attr': {'class': 'radio-input form-check-input'} }) }}{% endfor %}</div></div>{{ form_errors(registrationForm.gender) }}</div></div><div class=\"input-box\">{{ form_row(registrationForm.country) }}{{ form_errors(registrationForm.country) }}</div><div class=\"input-box\">{{ form_row(registrationForm.city) }}{{ form_errors(registrationForm.city) }}</div></div><div class=\"wrapper-button\"><button type=\"submit\" class=\"btn-red\"><span>{{ 'Գրանցվել'|trans }}</span></button></div>{{ form_end(registrationForm) }}<div class=\"wrapper-register\"><span>{{ 'Արդեն գրանցվա՞ծ եք'|trans }}</span><a href=\"{{ path('app_login') }}\">{{ 'Մուտք գործեք հիմա'|trans }}</a></div><div class=\"wrapper-attention\"><div class=\"attention-message\"><p>{{ 'Առաջարկ'|trans |nl2br }}</p></div></div></div></div></section>{% endblock %}", "registration/register.html.twig", "/var/www/yerevanpark.dev-16.toolbox.am/templates/registration/register.html.twig");}}