var/cache/dev/twig/77/77734bbc80fd3e9e85fc2135ef278af4.php line 40

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/login.html.twig */
  15. class __TwigTemplate_2b120096183310d43c46c52eb9a296f5 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/login.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/login.html.twig"));
  40.         // line 3
  41.         $context["content"] = ["title" => "Login"];
  42.         // line 1
  43.         $this->parent $this->loadTemplate("standard_tpl.html.twig""auth/login.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 "    <!-- Login -->
  76.     <section class=\"login-wrapper\">
  77.         <div class=\"container\">
  78.             <div class=\"row d-flex justify-content-center\">
  79.                 <div class=\"col-lg-4\">
  80.                     <form class=\"login-form form-style\" action=\"";
  81.         // line 13
  82.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.login_check");
  83.         yield "\" method=\"POST\">
  84.                         <h2 class=\"checkout-form-title text-center\">Account</h2>
  85.                         <p class=\"text-center\">Enter your email and password to access your account.</p>
  86.                         ";
  87.         // line 16
  88.         if ((isset($context["authError"]) || array_key_exists("authError"$context) ? $context["authError"] : (function () { throw new RuntimeError('Variable "authError" does not exist.'16$this->source); })())) {
  89.             // line 17
  90.             yield "                            <div class=\"alert alert-danger\" style=\"margin-bottom:10px\">
  91.                             ";
  92.             // line 18
  93.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["authError"]) || array_key_exists("authError"$context) ? $context["authError"] : (function () { throw new RuntimeError('Variable "authError" does not exist.'18$this->source); })()), "getMessageKey", [], "method"falsefalsefalse18), "html"nulltrue);
  94.             yield "
  95.                             </div>
  96.                         ";
  97.         }
  98.         // line 20
  99.         yield "  
  100.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  101.         // line 22
  102.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  103.         yield "\">
  104.                         
  105.                         <input class=\"form-control checkout-form-input mb-3\" name=\"_username\" type=\"email\" placeholder=\"Email Address\">
  106.                         <input class=\"form-control checkout-form-input\" name=\"_password\" type=\"password\" placeholder=\"Password\">
  107.                         
  108.                         <div class=\"d-flex justify-content-between\">
  109.                             <div class=\"form-check mt-3 checkout-form-check\">
  110.                                 <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheckDefault\">
  111.                                 <label class=\"form-check-label\" for=\"flexCheckDefault\">
  112.                                     Remember me
  113.                                 </label>
  114.                             </div>
  115.                             <div class=\"mt-3 checkout-form-text\">
  116.                                 <a href=\"";
  117.         // line 35
  118.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  119.         yield "\">Forgot Your Password?</a>
  120.                             </div>
  121.                         </div>
  122.                         <div class=\"mt-4 checkout-btn-list\">
  123.                             <button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign in</button>
  124.                         </div>
  125.                         
  126.                          <div class=\"mt-4 checkout-btn-list\">
  127.                             <div class=\"btn btn-teritary-fast w-100 outline\">
  128.                                 <span>New customer? <a href=\"";
  129.         // line 45
  130.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.sign_up");
  131.         yield "\">Create your account</a></span>
  132.                             </div>
  133.                         </div>
  134.                     </form>
  135.                 </div>
  136.             </div>
  137.         </div>
  138.     </section>
  139.     <!-- Login -->
  140. ";
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.         
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145.         return; yield '';
  146.     }
  147.     /**
  148.      * @codeCoverageIgnore
  149.      */
  150.     public function getTemplateName()
  151.     {
  152.         return "auth/login.html.twig";
  153.     }
  154.     /**
  155.      * @codeCoverageIgnore
  156.      */
  157.     public function isTraitable()
  158.     {
  159.         return false;
  160.     }
  161.     /**
  162.      * @codeCoverageIgnore
  163.      */
  164.     public function getDebugInfo()
  165.     {
  166.         return array (  151 => 45,  138 => 35,  122 => 22,  118 => 20,  112 => 18,  109 => 17,  107 => 16,  101 => 13,  94 => 8,  84 => 7,  73 => 0,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  167.     }
  168.     public function getSourceContext()
  169.     {
  170.         return new Source("{% extends 'standard_tpl.html.twig' %}
  171. {% set content = {'title':'Login'} %}
  172. {% block page_banner 'minimal' %}
  173. {% block content %}
  174.     <!-- Login -->
  175.     <section class=\"login-wrapper\">
  176.         <div class=\"container\">
  177.             <div class=\"row d-flex justify-content-center\">
  178.                 <div class=\"col-lg-4\">
  179.                     <form class=\"login-form form-style\" action=\"{{ path('app.login_check') }}\" method=\"POST\">
  180.                         <h2 class=\"checkout-form-title text-center\">Account</h2>
  181.                         <p class=\"text-center\">Enter your email and password to access your account.</p>
  182.                         {% if authError %}
  183.                             <div class=\"alert alert-danger\" style=\"margin-bottom:10px\">
  184.                             {{ authError.getMessageKey() }}
  185.                             </div>
  186.                         {% endif %}  
  187.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  188.                         
  189.                         <input class=\"form-control checkout-form-input mb-3\" name=\"_username\" type=\"email\" placeholder=\"Email Address\">
  190.                         <input class=\"form-control checkout-form-input\" name=\"_password\" type=\"password\" placeholder=\"Password\">
  191.                         
  192.                         <div class=\"d-flex justify-content-between\">
  193.                             <div class=\"form-check mt-3 checkout-form-check\">
  194.                                 <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheckDefault\">
  195.                                 <label class=\"form-check-label\" for=\"flexCheckDefault\">
  196.                                     Remember me
  197.                                 </label>
  198.                             </div>
  199.                             <div class=\"mt-3 checkout-form-text\">
  200.                                 <a href=\"{{ path('app_forgot_password_request') }}\">Forgot Your Password?</a>
  201.                             </div>
  202.                         </div>
  203.                         <div class=\"mt-4 checkout-btn-list\">
  204.                             <button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign in</button>
  205.                         </div>
  206.                         
  207.                          <div class=\"mt-4 checkout-btn-list\">
  208.                             <div class=\"btn btn-teritary-fast w-100 outline\">
  209.                                 <span>New customer? <a href=\"{{ path('app.sign_up') }}\">Create your account</a></span>
  210.                             </div>
  211.                         </div>
  212.                     </form>
  213.                 </div>
  214.             </div>
  215.         </div>
  216.     </section>
  217.     <!-- Login -->
  218. {% endblock %}
  219. ""auth/login.html.twig""/home/u835281259/domains/konashznaturals.com/siteFiles/templates/auth/login.html.twig");
  220.     }
  221. }