<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* auth/login.html.twig */
class __TwigTemplate_2b120096183310d43c46c52eb9a296f5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_banner' => [$this, 'block_page_banner'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "standard_tpl.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "auth/login.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "auth/login.html.twig"));
// line 3
$context["content"] = ["title" => "Login"];
// line 1
$this->parent = $this->loadTemplate("standard_tpl.html.twig", "auth/login.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_page_banner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_banner"));
// line 0
yield "minimal";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
yield " <!-- Login -->
<section class=\"login-wrapper\">
<div class=\"container\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col-lg-4\">
<form class=\"login-form form-style\" action=\"";
// line 13
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.login_check");
yield "\" method=\"POST\">
<h2 class=\"checkout-form-title text-center\">Account</h2>
<p class=\"text-center\">Enter your email and password to access your account.</p>
";
// line 16
if ((isset($context["authError"]) || array_key_exists("authError", $context) ? $context["authError"] : (function () { throw new RuntimeError('Variable "authError" does not exist.', 16, $this->source); })())) {
// line 17
yield " <div class=\"alert alert-danger\" style=\"margin-bottom:10px\">
";
// line 18
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", false, false, false, 18), "html", null, true);
yield "
</div>
";
}
// line 20
yield "
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
yield "\">
<input class=\"form-control checkout-form-input mb-3\" name=\"_username\" type=\"email\" placeholder=\"Email Address\">
<input class=\"form-control checkout-form-input\" name=\"_password\" type=\"password\" placeholder=\"Password\">
<div class=\"d-flex justify-content-between\">
<div class=\"form-check mt-3 checkout-form-check\">
<input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheckDefault\">
<label class=\"form-check-label\" for=\"flexCheckDefault\">
Remember me
</label>
</div>
<div class=\"mt-3 checkout-form-text\">
<a href=\"";
// line 35
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
yield "\">Forgot Your Password?</a>
</div>
</div>
<div class=\"mt-4 checkout-btn-list\">
<button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign in</button>
</div>
<div class=\"mt-4 checkout-btn-list\">
<div class=\"btn btn-teritary-fast w-100 outline\">
<span>New customer? <a href=\"";
// line 45
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.sign_up");
yield "\">Create your account</a></span>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Login -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "auth/login.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'standard_tpl.html.twig' %}
{% set content = {'title':'Login'} %}
{% block page_banner 'minimal' %}
{% block content %}
<!-- Login -->
<section class=\"login-wrapper\">
<div class=\"container\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col-lg-4\">
<form class=\"login-form form-style\" action=\"{{ path('app.login_check') }}\" method=\"POST\">
<h2 class=\"checkout-form-title text-center\">Account</h2>
<p class=\"text-center\">Enter your email and password to access your account.</p>
{% if authError %}
<div class=\"alert alert-danger\" style=\"margin-bottom:10px\">
{{ authError.getMessageKey() }}
</div>
{% endif %}
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<input class=\"form-control checkout-form-input mb-3\" name=\"_username\" type=\"email\" placeholder=\"Email Address\">
<input class=\"form-control checkout-form-input\" name=\"_password\" type=\"password\" placeholder=\"Password\">
<div class=\"d-flex justify-content-between\">
<div class=\"form-check mt-3 checkout-form-check\">
<input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheckDefault\">
<label class=\"form-check-label\" for=\"flexCheckDefault\">
Remember me
</label>
</div>
<div class=\"mt-3 checkout-form-text\">
<a href=\"{{ path('app_forgot_password_request') }}\">Forgot Your Password?</a>
</div>
</div>
<div class=\"mt-4 checkout-btn-list\">
<button type=\"submit\" class=\"btn btn-teritary-fast w-100\">Sign in</button>
</div>
<div class=\"mt-4 checkout-btn-list\">
<div class=\"btn btn-teritary-fast w-100 outline\">
<span>New customer? <a href=\"{{ path('app.sign_up') }}\">Create your account</a></span>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Login -->
{% endblock %}
", "auth/login.html.twig", "/home/u835281259/domains/konashznaturals.com/siteFiles/templates/auth/login.html.twig");
}
}