var/cache/dev/twig/1c/1c25aefdce4ec92bf468adabc44b0ad3.php line 53

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. /* auth/sign_up.html.twig */
  15. class __TwigTemplate_15585cd989ec20b139de6b79fd9fa4c9 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.             'page_banner' => [$this'block_page_banner'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "standard_tpl.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/sign_up.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/sign_up.html.twig"));
  40.         // line 3
  41.         $context["content"] = ["title" => "Sign up"];
  42.         // line 1
  43.         $this->parent $this->loadTemplate("standard_tpl.html.twig""auth/sign_up.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     public function block_page_banner($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_banner"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_banner"));
  58.         // line 0
  59.         yield "minimal";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.         return; yield '';
  65.     }
  66.     // line 7
  67.     public function block_content($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         // line 8
  75.         yield "
  76.     <!-- Register -->
  77.     <section class=\"login-wrapper\">
  78.         <div class=\"container\">
  79.             <div class=\"row d-flex justify-content-center\">
  80.                 <div class=\"col-lg-4\">
  81.                     <h2 class=\"checkout-form-title text-center\">Create Account</h2>
  82.                     <p class=\"text-center\">All fields are require.</p>
  83.                     ";
  84.         // line 16
  85.         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.'16$this->source); })()), 'form_start', ["attr" => ["class" => "form-style"]]);
  86.         yield "
  87.                         <div class=\"row\">
  88.                             <div class=\"col-sm-12\">
  89.                                 <div class=\"form-group\">
  90.                                     <label class=\"d-none\" for=\"firstname\">First Name</label>
  91.                                     ";
  92.         // line 21
  93.         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.'21$this->source); })()), "firstname", [], "any"falsefalsefalse21), 'widget');
  94.         yield "
  95.                                     ";
  96.         // line 22
  97.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FlashExtension']->formErrors(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.'22$this->source); })()), "firstname", [], "any"falsefalsefalse22));
  98.         yield "
  99.                                 </div>                                
  100.                             </div>
  101.                             <div class=\"col-sm-12\">
  102.                                 <div class=\"form-group\">
  103.                                     <label class=\"d-none\" for=\"lastname\">Last Name</label>
  104.                                     ";
  105.         // line 28
  106.         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.'28$this->source); })()), "lastname", [], "any"falsefalsefalse28), 'widget');
  107.         yield "
  108.                                     ";
  109.         // line 29
  110.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FlashExtension']->formErrors(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"falsefalsefalse29));
  111.         yield "
  112.                                 </div>                                    
  113.                             </div>  
  114.                             <div class=\"col-sm-12\">
  115.                                 <div class=\"form-group\">
  116.                                     <label class=\"d-none\" for=\"email\">Email</label>
  117.                                     ";
  118.         // line 36
  119.         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.'36$this->source); })()), "email", [], "any"falsefalsefalse36), 'widget');
  120.         yield "
  121.                                     ";
  122.         // line 37
  123.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FlashExtension']->formErrors(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); })()), "email", [], "any"falsefalsefalse37));
  124.         yield "
  125.                                 </div>
  126.                             </div>
  127.                             <div class=\"col-sm-12\">
  128.                                 <div class=\"form-group\">
  129.                                     <label class=\"d-none\" for=\"passowrd\">Passowrd</label>
  130.                                     ";
  131.         // line 44
  132.         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); })()), "plainPassword", [], "any"falsefalsefalse44), 'widget');
  133.         yield "
  134.                                     ";
  135.         // line 45
  136.         yield $this->extensions['Boab\CmsBundle\Twig\Extension\FlashExtension']->formErrors(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.'45$this->source); })()), "plainPassword", [], "any"falsefalsefalse45));
  137.         yield "
  138.                                 </div>
  139.                             </div>
  140.                             <div class=\"col-sm-12\">
  141.                                 <div class=\"form-check mt-3 checkout-form-check p-0\">
  142.                                     ";
  143.         // line 51
  144.         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); })()), "agreeTerms", [], "any"falsefalsefalse51), 'widget');
  145.         yield "
  146.                                     <label class=\"form-check-label\" for=\"flexCheckDefault2\">
  147.                                         I have read and agree to the terms &amp; conditions
  148.                                     </label>
  149.                                 </div>   
  150.                             </div>
  151.                             <div class=\"col-sm-12\">                         
  152.                                 <div class=\"mt-4 checkout-btn-list\">
  153.                                     <button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign Up</button>
  154.                                 </div>  
  155.                             </div>                      
  156.                         </div>
  157.                     ";
  158.         // line 64
  159.         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.'64$this->source); })()), 'form_end');
  160.         yield "
  161.                 </div>
  162.             </div>
  163.         </div>
  164.     </section>
  165.     <!-- Register -->    
  166. ";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.         return; yield '';
  172.     }
  173.     /**
  174.      * @codeCoverageIgnore
  175.      */
  176.     public function getTemplateName()
  177.     {
  178.         return "auth/sign_up.html.twig";
  179.     }
  180.     /**
  181.      * @codeCoverageIgnore
  182.      */
  183.     public function isTraitable()
  184.     {
  185.         return false;
  186.     }
  187.     /**
  188.      * @codeCoverageIgnore
  189.      */
  190.     public function getDebugInfo()
  191.     {
  192.         return array (  182 => 64,  166 => 51,  157 => 45,  153 => 44,  143 => 37,  139 => 36,  129 => 29,  125 => 28,  116 => 22,  112 => 21,  104 => 16,  94 => 8,  84 => 7,  73 => 0,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  193.     }
  194.     public function getSourceContext()
  195.     {
  196.         return new Source("{% extends 'standard_tpl.html.twig' %}
  197. {% set content = {'title':'Sign up'} %}
  198. {% block page_banner 'minimal' %}
  199. {% block content %}
  200.     <!-- Register -->
  201.     <section class=\"login-wrapper\">
  202.         <div class=\"container\">
  203.             <div class=\"row d-flex justify-content-center\">
  204.                 <div class=\"col-lg-4\">
  205.                     <h2 class=\"checkout-form-title text-center\">Create Account</h2>
  206.                     <p class=\"text-center\">All fields are require.</p>
  207.                     {{ form_start(form, {'attr':{'class':'form-style'}}) }}
  208.                         <div class=\"row\">
  209.                             <div class=\"col-sm-12\">
  210.                                 <div class=\"form-group\">
  211.                                     <label class=\"d-none\" for=\"firstname\">First Name</label>
  212.                                     {{ form_widget(form.firstname )}}
  213.                                     {{ flash_form_errors(form.firstname) }}
  214.                                 </div>                                
  215.                             </div>
  216.                             <div class=\"col-sm-12\">
  217.                                 <div class=\"form-group\">
  218.                                     <label class=\"d-none\" for=\"lastname\">Last Name</label>
  219.                                     {{ form_widget(form.lastname )}}
  220.                                     {{ flash_form_errors(form.lastname) }}
  221.                                 </div>                                    
  222.                             </div>  
  223.                             <div class=\"col-sm-12\">
  224.                                 <div class=\"form-group\">
  225.                                     <label class=\"d-none\" for=\"email\">Email</label>
  226.                                     {{ form_widget(form.email )}}
  227.                                     {{ flash_form_errors(form.email) }}
  228.                                 </div>
  229.                             </div>
  230.                             <div class=\"col-sm-12\">
  231.                                 <div class=\"form-group\">
  232.                                     <label class=\"d-none\" for=\"passowrd\">Passowrd</label>
  233.                                     {{ form_widget(form.plainPassword )}}
  234.                                     {{ flash_form_errors(form.plainPassword) }}
  235.                                 </div>
  236.                             </div>
  237.                             <div class=\"col-sm-12\">
  238.                                 <div class=\"form-check mt-3 checkout-form-check p-0\">
  239.                                     {{ form_widget(form.agreeTerms) }}
  240.                                     <label class=\"form-check-label\" for=\"flexCheckDefault2\">
  241.                                         I have read and agree to the terms &amp; conditions
  242.                                     </label>
  243.                                 </div>   
  244.                             </div>
  245.                             <div class=\"col-sm-12\">                         
  246.                                 <div class=\"mt-4 checkout-btn-list\">
  247.                                     <button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign Up</button>
  248.                                 </div>  
  249.                             </div>                      
  250.                         </div>
  251.                     {{ form_end(form) }}
  252.                 </div>
  253.             </div>
  254.         </div>
  255.     </section>
  256.     <!-- Register -->    
  257. {% endblock %}
  258. ""auth/sign_up.html.twig""/home/u835281259/domains/konashznaturals.com/siteFiles/templates/auth/sign_up.html.twig");
  259.     }
  260. }