var/cache/dev/twig/8d/8dfb8b37360afa95d495bb9d38fe41de.php line 99

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* security/btoc/sign_up_btoc.html.twig */
  18. class __TwigTemplate_33f5fcc8d2aad1bc1c8f2fc4dd94edfc extends Template
  19. {
  20.     private Source $source;
  21.     /**
  22.      * @var array<string, MacroNamespace>
  23.      */
  24.     private array $macros = [];
  25.     private \Twig\Runtime\EscaperRuntime $escaper;
  26.     public function __construct(Environment $env)
  27.     {
  28.         parent::__construct($env);
  29.         $this->source = $this->getSourceContext();
  30.         $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31.         $this->blocks = [
  32.             'title' => [$this, 'block_title'],
  33.             'container' => [$this, 'block_container'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return $this->parent ??= $this->load("front/base_front.html.twig", 1);
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros = $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/btoc/sign_up_btoc.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/btoc/sign_up_btoc.html.twig"));
  48.         $this->parent = $this->load("front/base_front.html.twig", 1);
  49.         yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     /**
  57.      * @return iterable<null|scalar|\Stringable>
  58.      */
  59.     public function block_title(array $context, array $blocks = []): iterable
  60.     {
  61.         $macros = $this->macros;
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  66.         // line 4
  67.         yield "  ";
  68.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.SignUp.Label", [], "messages_front"), "html", null, true);
  69.         yield "
  70. ";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.         return; yield;
  76.     }
  77.     // line 8
  78.     /**
  79.      * @return iterable<null|scalar|\Stringable>
  80.      */
  81.     public function block_container(array $context, array $blocks = []): iterable
  82.     {
  83.         $macros = $this->macros;
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
  88.         // line 9
  89.         yield "    <style>
  90.         .common_author_boxed {
  91.             background: #f3f6fd;
  92.             padding: 20px 20px;
  93.         }
  94.     </style>
  95.     <!--  Common Author Area -->
  96.     <section id=\"common_author_area\" class=\"section_padding\">
  97.         <div class=\"container\">
  98.             <div class=\"row\">
  99.                 <div class=\"col-lg-8 offset-lg-2 p-1\">
  100.                     <div class=\"common_author_boxed\">
  101.                         <div class=\"common_author_form p1\">
  102.                             ";
  103.         // line 23
  104.         yield (string)         $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.', 23, $this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
  105.         yield "
  106.                             <div class=\"row form-group\" >
  107.                                 <div class=\"col-md-6\">
  108.                                     ";
  109.         // line 26
  110.         yield (string) $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.', 26, $this->source); })()), "firstName", [], "any", false, false, false, 26), 'row');
  111.         yield "
  112.                                 </div>
  113.                                 <div class=\"col-md-6\">
  114.                                     ";
  115.         // line 29
  116.         yield (string) $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.', 29, $this->source); })()), "lastName", [], "any", false, false, false, 29), 'row');
  117.         yield "
  118.                                 </div>
  119.                             </div>
  120.                             <div class=\"form-group\">
  121.                                 ";
  122.         // line 33
  123.         yield (string) $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.', 33, $this->source); })()), "email", [], "any", false, false, false, 33), 'row');
  124.         yield "
  125.                             </div>
  126.                             <div class=\"row form-group\">
  127.                                 <div class=\"col-md-6\">";
  128.         // line 36
  129.         yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, 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.', 36, $this->source); })()), "password", [], "any", false, false, false, 36), "first", [], "any", false, false, false, 36), 'row');
  130.         yield "</div>
  131.                                 <div class=\"col-md-6\">";
  132.         // line 37
  133.         yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, 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.', 37, $this->source); })()), "password", [], "any", false, false, false, 37), "second", [], "any", false, false, false, 37), 'row');
  134.         yield "</div>
  135.                             </div>
  136.                         </div>
  137.                         <div class=\"common_form_submit\">
  138.                             <input type=\"submit\" class=\"btn btn_theme btn_md\" value=\"";
  139.         // line 42
  140.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.SignUp.Buttons.SingUp", [], "messages_front"), "html", null, true);
  141.         yield "\">
  142.                         </div>
  143.                         ";
  144.         // line 44
  145.         yield (string)         $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.', 44, $this->source); })()), 'form_end');
  146.         yield "
  147.                     </div>
  148.                 </div>
  149.             </div>
  150.         </div>
  151.     </section>
  152. ";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         return; yield;
  158.     }
  159.     /**
  160.      * @codeCoverageIgnore
  161.      */
  162.     public function getTemplateName(): string
  163.     {
  164.         return "security/btoc/sign_up_btoc.html.twig";
  165.     }
  166.     /**
  167.      * @codeCoverageIgnore
  168.      */
  169.     public function isTraitable(): bool
  170.     {
  171.         return false;
  172.     }
  173.     /**
  174.      * @codeCoverageIgnore
  175.      */
  176.     public function getDefaultEscapeStrategy(): string|false
  177.     {
  178.         return "html";
  179.     }
  180.     /**
  181.      * @codeCoverageIgnore
  182.      */
  183.     public function getDebugInfo(): array
  184.     {
  185.         return array (  167 => 44,  162 => 42,  154 => 37,  150 => 36,  144 => 33,  137 => 29,  131 => 26,  125 => 23,  109 => 9,  96 => 8,  82 => 4,  69 => 3,  46 => 1,);
  186.     }
  187.     public function getSourceContext(): Source
  188.     {
  189.         return new Source("{% extends \x27front/base_front.html.twig\x27 %}
  190. {% block title  %}
  191.   {{ \x27Pages.SignUp.Label\x27|trans({}, \x27messages_front\x27) }}
  192. {% endblock %}
  193. {% block container %}
  194.     <style>
  195.         .common_author_boxed {
  196.             background: #f3f6fd;
  197.             padding: 20px 20px;
  198.         }
  199.     </style>
  200.     <!--  Common Author Area -->
  201.     <section id=\"common_author_area\" class=\"section_padding\">
  202.         <div class=\"container\">
  203.             <div class=\"row\">
  204.                 <div class=\"col-lg-8 offset-lg-2 p-1\">
  205.                     <div class=\"common_author_boxed\">
  206.                         <div class=\"common_author_form p1\">
  207.                             {{ form_start(form, {attr: {\x27novalidate\x27: \x27novalidate\x27}}) }}
  208.                             <div class=\"row form-group\" >
  209.                                 <div class=\"col-md-6\">
  210.                                     {{ form_row(form.firstName) }}
  211.                                 </div>
  212.                                 <div class=\"col-md-6\">
  213.                                     {{ form_row(form.lastName) }}
  214.                                 </div>
  215.                             </div>
  216.                             <div class=\"form-group\">
  217.                                 {{ form_row(form.email) }}
  218.                             </div>
  219.                             <div class=\"row form-group\">
  220.                                 <div class=\"col-md-6\">{{ form_row(form.password.first) }}</div>
  221.                                 <div class=\"col-md-6\">{{ form_row(form.password.second) }}</div>
  222.                             </div>
  223.                         </div>
  224.                         <div class=\"common_form_submit\">
  225.                             <input type=\"submit\" class=\"btn btn_theme btn_md\" value=\"{{ \x27Pages.SignUp.Buttons.SingUp\x27|trans({} , \x27messages_front\x27) }}\">
  226.                         </div>
  227.                         {{ form_end(form) }}
  228.                     </div>
  229.                 </div>
  230.             </div>
  231.         </div>
  232.     </section>
  233. {% endblock %}", "security/btoc/sign_up_btoc.html.twig", "/home/sunazur/public_html/templates/security/btoc/sign_up_btoc.html.twig");
  234.     }
  235. }