var/cache/dev/twig/52/525781b0618955db6b043c3563f7bde81843fce11f7368091fa5d84c87ef24f9.php line 186

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. /* signup/index.html.twig */
  15. class __TwigTemplate_3fc7d86f1419cffba595a108ba2a18f112c4bcebff3965a82e5f22cc7649baf4 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.             'stylesheets' => [$this'block_stylesheets'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 6
  31.         return "base.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""signup/index.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""signup/index.html.twig"));
  40.         // line 1
  41.         $context["body_classes"] = ["register"];
  42.         // line 2
  43.         $context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.title");
  44.         // line 3
  45.         $context["description"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.description");
  46.         // line 4
  47.         $context["keywords"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.meta.keywords");
  48.         // line 6
  49.         $this->parent $this->loadTemplate("base.html.twig""signup/index.html.twig"6);
  50.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  53.         
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  55.     }
  56.     // line 8
  57.     public function block_stylesheets($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  64.         // line 9
  65.         yield "    ";
  66.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  67.         yield "
  68.     ";
  69.         // line 10
  70.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("register");
  71.         yield "
  72. ";
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.         return; yield '';
  78.     }
  79.     // line 13
  80.     public function block_content($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  87.         // line 14
  88.         yield "    <main>
  89.         <div class=\"container\">
  90.             <div class=\"top-logo-container\">
  91.                 <a href=\"";
  92.         // line 17
  93.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  94.         yield "\">
  95.                     <img src=\"";
  96.         // line 18
  97.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-blue.png"), "html"nulltrue);
  98.         yield "\" alt=\"\">
  99.                 </a>
  100.             </div>
  101.             <div class=\"register-form-container\">
  102.                 <div class=\"description-wrapper\">
  103.                     <h1>";
  104.         // line 23
  105.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_title");
  106.         yield "</h1>
  107.                     <h3>";
  108.         // line 24
  109.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_subtitle");
  110.         yield "</h3>
  111.                     <p>";
  112.         // line 25
  113.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_paragraph");
  114.         yield "</p>
  115.                     <ul>
  116.                         <li>";
  117.         // line 27
  118.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point1");
  119.         yield "</li>
  120.                         <li>";
  121.         // line 28
  122.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point2");
  123.         yield "</li>
  124.                         <li>";
  125.         // line 29
  126.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point3");
  127.         yield "</li>
  128.                     </ul>
  129.                 </div>
  130.                 <div class=\"form-wrapper\">
  131.                     <div class=\"title\">
  132.                         <h4>";
  133.         // line 34
  134.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_title");
  135.         yield "</h4>
  136.                         <p>";
  137.         // line 35
  138.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_paragraph");
  139.         yield "</p>
  140.                     </div>
  141.                     ";
  142.         // line 37
  143.         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');
  144.         yield "
  145.                         <div class=\"field-wrapper\">
  146.                             ";
  147.         // line 39
  148.         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"falsefalsefalse39), 'widget');
  149.         yield "
  150.                             ";
  151.         // line 40
  152.         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"falsefalsefalse40), 'errors');
  153.         yield "
  154.                         </div>
  155.                         <div class=\"field-wrapper\">
  156.                             ";
  157.         // line 43
  158.         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"falsefalsefalse43), 'widget');
  159.         yield "
  160.                             ";
  161.         // line 44
  162.         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"falsefalsefalse44), 'errors');
  163.         yield "
  164.                         </div>
  165.                         <div class=\"field-wrapper\" ";
  166.         // line 46
  167.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"number_only");
  168.         yield ">
  169.                             ";
  170.         // line 47
  171.         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"falsefalsefalse47), 'widget', ["attr" => ["data-action" => "input->number-only#onFilterDigits""data-number-only-target" => "input"]]);
  172.         // line 50
  173.         yield "
  174.                             ";
  175.         // line 51
  176.         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"falsefalsefalse51), 'errors');
  177.         yield "
  178.                         </div>
  179.                         <div class=\"field-wrapper\">
  180.                             ";
  181.         // line 54
  182.         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');
  183.         yield "
  184.                         </div>
  185.                         <div class=\"buttons-container\">
  186.                             ";
  187.         // line 57
  188.         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"falsefalsefalse57), 'widget');
  189.         yield "
  190.                         </div>
  191.                     ";
  192.         // line 59
  193.         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');
  194.         yield "
  195.                 </div>
  196.             </div>
  197.         </div>
  198.     </main>
  199. ";
  200.         
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  202.         
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  204.         return; yield '';
  205.     }
  206.     /**
  207.      * @codeCoverageIgnore
  208.      */
  209.     public function getTemplateName()
  210.     {
  211.         return "signup/index.html.twig";
  212.     }
  213.     /**
  214.      * @codeCoverageIgnore
  215.      */
  216.     public function isTraitable()
  217.     {
  218.         return false;
  219.     }
  220.     /**
  221.      * @codeCoverageIgnore
  222.      */
  223.     public function getDebugInfo()
  224.     {
  225.         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,);
  226.     }
  227.     public function getSourceContext()
  228.     {
  229.         return new Source("{% set body_classes = ['register'] %}
  230. {% set title = 'signup.meta.title'|trans %}
  231. {% set description = 'signup.meta.description'|trans %}
  232. {% set keywords = 'signup.meta.keywords'|trans %}
  233. {% extends 'base.html.twig' %}
  234. {% block stylesheets %}
  235.     {{ parent() }}
  236.     {{ encore_entry_link_tags('register') }}
  237. {% endblock stylesheets %}
  238. {% block content %}
  239.     <main>
  240.         <div class=\"container\">
  241.             <div class=\"top-logo-container\">
  242.                 <a href=\"{{ path('homepage') }}\">
  243.                     <img src=\"{{ asset('build/images/logo-blue.png') }}\" alt=\"\">
  244.                 </a>
  245.             </div>
  246.             <div class=\"register-form-container\">
  247.                 <div class=\"description-wrapper\">
  248.                     <h1>{{ 'signup.cert_reputation_title'|trans|raw }}</h1>
  249.                     <h3>{{ 'signup.cert_reputation_subtitle'|trans|raw }}</h3>
  250.                     <p>{{ 'signup.cert_reputation_paragraph'|trans|raw }}</p>
  251.                     <ul>
  252.                         <li>{{ 'signup.cert_reputation_point1'|trans|raw }}</li>
  253.                         <li>{{ 'signup.cert_reputation_point2'|trans|raw }}</li>
  254.                         <li>{{ 'signup.cert_reputation_point3'|trans|raw }}</li>
  255.                     </ul>
  256.                 </div>
  257.                 <div class=\"form-wrapper\">
  258.                     <div class=\"title\">
  259.                         <h4>{{ 'signup.free_submit_title'|trans|raw }}</h4>
  260.                         <p>{{ 'signup.free_submit_paragraph'|trans|raw }}</p>
  261.                     </div>
  262.                     {{ form_start(form) }}
  263.                         <div class=\"field-wrapper\">
  264.                             {{ form_widget(form.name) }}
  265.                             {{ form_errors(form.name) }}
  266.                         </div>
  267.                         <div class=\"field-wrapper\">
  268.                             {{ form_widget(form.city) }}
  269.                             {{ form_errors(form.city) }}
  270.                         </div>
  271.                         <div class=\"field-wrapper\" {{ stimulus_controller('number_only') }}>
  272.                             {{ form_widget(form.phone, {'attr': {
  273.                                 'data-action': 'input->number-only#onFilterDigits',
  274.                                 'data-number-only-target': 'input',
  275.                             }}) }}
  276.                             {{ form_errors(form.phone) }}
  277.                         </div>
  278.                         <div class=\"field-wrapper\">
  279.                             {{ form_errors(form) }}
  280.                         </div>
  281.                         <div class=\"buttons-container\">
  282.                             {{ form_widget(form.submit) }}
  283.                         </div>
  284.                     {{ form_end(form) }}
  285.                 </div>
  286.             </div>
  287.         </div>
  288.     </main>
  289. {% endblock content %}""signup/index.html.twig""/var/www/brc_frontend_translation/templates/signup/index.html.twig");
  290.     }
  291. }