var/cache/dev/twig/70/7029b829c3f6f1fbdc1017d2a610a3438e7dca49e757abba9a34386922e41a60.php line 183

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_ab4b5d736f6b2a9c8ee0675d4120aada57c86e0e6cd7c74a60c708cdc876a2bd 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=\"/static-media/IMAGES_LOGO_BLUE_PNG--STANDARD\" alt=\"\">
  96.                 </a>
  97.             </div>
  98.             <div class=\"register-form-container\">
  99.                 <div class=\"description-wrapper\">
  100.                     <h1>";
  101.         // line 23
  102.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_title");
  103.         yield "</h1>
  104.                     <h3>";
  105.         // line 24
  106.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_subtitle");
  107.         yield "</h3>
  108.                     <p>";
  109.         // line 25
  110.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_paragraph");
  111.         yield "</p>
  112.                     <ul>
  113.                         <li>";
  114.         // line 27
  115.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point1");
  116.         yield "</li>
  117.                         <li>";
  118.         // line 28
  119.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point2");
  120.         yield "</li>
  121.                         <li>";
  122.         // line 29
  123.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.cert_reputation_point3");
  124.         yield "</li>
  125.                     </ul>
  126.                 </div>
  127.                 <div class=\"form-wrapper\">
  128.                     <div class=\"title\">
  129.                         <h4>";
  130.         // line 34
  131.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_title");
  132.         yield "</h4>
  133.                         <p>";
  134.         // line 35
  135.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("signup.free_submit_paragraph");
  136.         yield "</p>
  137.                     </div>
  138.                     ";
  139.         // line 37
  140.         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');
  141.         yield "
  142.                         <div class=\"field-wrapper\">
  143.                             ";
  144.         // line 39
  145.         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');
  146.         yield "
  147.                             ";
  148.         // line 40
  149.         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');
  150.         yield "
  151.                         </div>
  152.                         <div class=\"field-wrapper\">
  153.                             ";
  154.         // line 43
  155.         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');
  156.         yield "
  157.                             ";
  158.         // line 44
  159.         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');
  160.         yield "
  161.                         </div>
  162.                         <div class=\"field-wrapper\" ";
  163.         // line 46
  164.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"number_only");
  165.         yield ">
  166.                             ";
  167.         // line 47
  168.         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"]]);
  169.         // line 50
  170.         yield "
  171.                             ";
  172.         // line 51
  173.         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');
  174.         yield "
  175.                         </div>
  176.                         <div class=\"field-wrapper\">
  177.                             ";
  178.         // line 54
  179.         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');
  180.         yield "
  181.                         </div>
  182.                         <div class=\"buttons-container\">
  183.                             ";
  184.         // line 57
  185.         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');
  186.         yield "
  187.                         </div>
  188.                     ";
  189.         // line 59
  190.         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');
  191.         yield "
  192.                 </div>
  193.             </div>
  194.         </div>
  195.     </main>
  196. ";
  197.         
  198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  199.         
  200.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  201.         return; yield '';
  202.     }
  203.     /**
  204.      * @codeCoverageIgnore
  205.      */
  206.     public function getTemplateName()
  207.     {
  208.         return "signup/index.html.twig";
  209.     }
  210.     /**
  211.      * @codeCoverageIgnore
  212.      */
  213.     public function isTraitable()
  214.     {
  215.         return false;
  216.     }
  217.     /**
  218.      * @codeCoverageIgnore
  219.      */
  220.     public function getDebugInfo()
  221.     {
  222.         return array (  209 => 59,  204 => 57,  198 => 54,  192 => 51,  189 => 50,  187 => 47,  183 => 46,  178 => 44,  174 => 43,  168 => 40,  164 => 39,  159 => 37,  154 => 35,  150 => 34,  142 => 29,  138 => 28,  134 => 27,  129 => 25,  125 => 24,  121 => 23,  112 => 17,  107 => 14,  97 => 13,  84 => 10,  79 => 9,  69 => 8,  58 => 6,  56 => 4,  54 => 3,  52 => 2,  50 => 1,  37 => 6,);
  223.     }
  224.     public function getSourceContext()
  225.     {
  226.         return new Source("{% set body_classes = ['register'] %}
  227. {% set title = 'signup.meta.title'|trans %}
  228. {% set description = 'signup.meta.description'|trans %}
  229. {% set keywords = 'signup.meta.keywords'|trans %}
  230. {% extends 'base.html.twig' %}
  231. {% block stylesheets %}
  232.     {{ parent() }}
  233.     {{ encore_entry_link_tags('register') }}
  234. {% endblock stylesheets %}
  235. {% block content %}
  236.     <main>
  237.         <div class=\"container\">
  238.             <div class=\"top-logo-container\">
  239.                 <a href=\"{{ path('homepage') }}\">
  240.                     <img src=\"/static-media/IMAGES_LOGO_BLUE_PNG--STANDARD\" alt=\"\">
  241.                 </a>
  242.             </div>
  243.             <div class=\"register-form-container\">
  244.                 <div class=\"description-wrapper\">
  245.                     <h1>{{ 'signup.cert_reputation_title'|trans|raw }}</h1>
  246.                     <h3>{{ 'signup.cert_reputation_subtitle'|trans|raw }}</h3>
  247.                     <p>{{ 'signup.cert_reputation_paragraph'|trans|raw }}</p>
  248.                     <ul>
  249.                         <li>{{ 'signup.cert_reputation_point1'|trans|raw }}</li>
  250.                         <li>{{ 'signup.cert_reputation_point2'|trans|raw }}</li>
  251.                         <li>{{ 'signup.cert_reputation_point3'|trans|raw }}</li>
  252.                     </ul>
  253.                 </div>
  254.                 <div class=\"form-wrapper\">
  255.                     <div class=\"title\">
  256.                         <h4>{{ 'signup.free_submit_title'|trans|raw }}</h4>
  257.                         <p>{{ 'signup.free_submit_paragraph'|trans|raw }}</p>
  258.                     </div>
  259.                     {{ form_start(form) }}
  260.                         <div class=\"field-wrapper\">
  261.                             {{ form_widget(form.name) }}
  262.                             {{ form_errors(form.name) }}
  263.                         </div>
  264.                         <div class=\"field-wrapper\">
  265.                             {{ form_widget(form.city) }}
  266.                             {{ form_errors(form.city) }}
  267.                         </div>
  268.                         <div class=\"field-wrapper\" {{ stimulus_controller('number_only') }}>
  269.                             {{ form_widget(form.phone, {'attr': {
  270.                                 'data-action': 'input->number-only#onFilterDigits',
  271.                                 'data-number-only-target': 'input',
  272.                             }}) }}
  273.                             {{ form_errors(form.phone) }}
  274.                         </div>
  275.                         <div class=\"field-wrapper\">
  276.                             {{ form_errors(form) }}
  277.                         </div>
  278.                         <div class=\"buttons-container\">
  279.                             {{ form_widget(form.submit) }}
  280.                         </div>
  281.                     {{ form_end(form) }}
  282.                 </div>
  283.             </div>
  284.         </div>
  285.     </main>
  286. {% endblock content %}""signup/index.html.twig""/var/www/brc_frontend/templates/signup/index.html.twig");
  287.     }
  288. }