<?php
use 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;
/* signup/index.html.twig */
class __TwigTemplate_3fc7d86f1419cffba595a108ba2a18f112c4bcebff3965a82e5f22cc7649baf4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 6
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", "signup/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "signup/index.html.twig"));
// line 1
$context["body_classes"] = ["register"];
// line 2
$context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.title");
// line 3
$context["description"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.description");
// line 4
$context["keywords"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.keywords");
// line 6
$this->parent = $this->loadTemplate("base.html.twig", "signup/index.html.twig", 6);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 8
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 9
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 10
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("register");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 13
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 14
yield " <main>
<div class=\"container\">
<div class=\"top-logo-container\">
<a href=\"";
// line 17
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
yield "\">
<img src=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-blue.png"), "html", null, true);
yield "\" alt=\"\">
</a>
</div>
<div class=\"register-form-container\">
<div class=\"description-wrapper\">
<h1>";
// line 23
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_title");
yield "</h1>
<h3>";
// line 24
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_subtitle");
yield "</h3>
<p>";
// line 25
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_paragraph");
yield "</p>
<ul>
<li>";
// line 27
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point1");
yield "</li>
<li>";
// line 28
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point2");
yield "</li>
<li>";
// line 29
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point3");
yield "</li>
</ul>
</div>
<div class=\"form-wrapper\">
<div class=\"title\">
<h4>";
// line 34
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_title");
yield "</h4>
<p>";
// line 35
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_paragraph");
yield "</p>
</div>
";
// line 37
yield $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.', 37, $this->source); })()), 'form_start');
yield "
<div class=\"field-wrapper\">
";
// line 39
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 39, $this->source); })()), "name", [], "any", false, false, false, 39), 'widget');
yield "
";
// line 40
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), "name", [], "any", false, false, false, 40), 'errors');
yield "
</div>
<div class=\"field-wrapper\">
";
// line 43
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "city", [], "any", false, false, false, 43), 'widget');
yield "
";
// line 44
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "city", [], "any", false, false, false, 44), 'errors');
yield "
</div>
<div class=\"field-wrapper\" ";
// line 46
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "number_only");
yield ">
";
// line 47
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 47, $this->source); })()), "phone", [], "any", false, false, false, 47), 'widget', ["attr" => ["data-action" => "input->number-only#onFilterDigits", "data-number-only-target" => "input"]]);
// line 50
yield "
";
// line 51
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })()), "phone", [], "any", false, false, false, 51), 'errors');
yield "
</div>
<div class=\"field-wrapper\">
";
// line 54
yield $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.', 54, $this->source); })()), 'errors');
yield "
</div>
<div class=\"buttons-container\">
";
// line 57
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 57, $this->source); })()), "submit", [], "any", false, false, false, 57), 'widget');
yield "
</div>
";
// line 59
yield $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.', 59, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "signup/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 212 => 59, 207 => 57, 201 => 54, 195 => 51, 192 => 50, 190 => 47, 186 => 46, 181 => 44, 177 => 43, 171 => 40, 167 => 39, 162 => 37, 157 => 35, 153 => 34, 145 => 29, 141 => 28, 137 => 27, 132 => 25, 128 => 24, 124 => 23, 116 => 18, 112 => 17, 107 => 14, 97 => 13, 84 => 10, 79 => 9, 69 => 8, 58 => 6, 56 => 4, 54 => 3, 52 => 2, 50 => 1, 37 => 6,);
}
public function getSourceContext()
{
return new Source("{% set body_classes = ['register'] %}
{% set title = 'signup.meta.title'|trans %}
{% set description = 'signup.meta.description'|trans %}
{% set keywords = 'signup.meta.keywords'|trans %}
{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('register') }}
{% endblock stylesheets %}
{% block content %}
<main>
<div class=\"container\">
<div class=\"top-logo-container\">
<a href=\"{{ path('homepage') }}\">
<img src=\"{{ asset('build/images/logo-blue.png') }}\" alt=\"\">
</a>
</div>
<div class=\"register-form-container\">
<div class=\"description-wrapper\">
<h1>{{ 'signup.cert_reputation_title'|trans|raw }}</h1>
<h3>{{ 'signup.cert_reputation_subtitle'|trans|raw }}</h3>
<p>{{ 'signup.cert_reputation_paragraph'|trans|raw }}</p>
<ul>
<li>{{ 'signup.cert_reputation_point1'|trans|raw }}</li>
<li>{{ 'signup.cert_reputation_point2'|trans|raw }}</li>
<li>{{ 'signup.cert_reputation_point3'|trans|raw }}</li>
</ul>
</div>
<div class=\"form-wrapper\">
<div class=\"title\">
<h4>{{ 'signup.free_submit_title'|trans|raw }}</h4>
<p>{{ 'signup.free_submit_paragraph'|trans|raw }}</p>
</div>
{{ form_start(form) }}
<div class=\"field-wrapper\">
{{ form_widget(form.name) }}
{{ form_errors(form.name) }}
</div>
<div class=\"field-wrapper\">
{{ form_widget(form.city) }}
{{ form_errors(form.city) }}
</div>
<div class=\"field-wrapper\" {{ stimulus_controller('number_only') }}>
{{ form_widget(form.phone, {'attr': {
'data-action': 'input->number-only#onFilterDigits',
'data-number-only-target': 'input',
}}) }}
{{ form_errors(form.phone) }}
</div>
<div class=\"field-wrapper\">
{{ form_errors(form) }}
</div>
<div class=\"buttons-container\">
{{ form_widget(form.submit) }}
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</main>
{% endblock content %}", "signup/index.html.twig", "/var/www/brc_frontend_translation/templates/signup/index.html.twig");
}
}