<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* security/login.html.twig */
class __TwigTemplate_57625c59737638f792f55053e8d6bea696b23c756a62ea7044fd6e950b653672 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));
// line 2
$context["page"] = "login";
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "security/login.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 5
echo "
<!--KODE SAB BANNER WRAP START-->
<div class=\"kode_sab_banner_wrap them_overlay\">
<!--CONTAINER START-->
<div class=\"container\">
<div class=\"sab_banner_text\">
<h2>";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html", null, true);
echo "</h2>
<ul class=\"breadcrumbs\">
<li><a href=\"";
// line 13
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_front_main_index");
echo "\"><i class=\"fa fa-home\"></i></a></li>
<li><strong>";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html", null, true);
echo "</strong></li>
</ul>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE 404 WRAP START-->
<div class=\"kode_contact_wrap\">
<!--CONTAINER START-->
<!--KODE CONTACT DES START-->
<div class=\"kode_contact_des\">
<div class=\"container\">
<div class=\"row\">
<div class=\"kode_contact_field\">
<div class=\"section_hdg hdg_2 hdg_3\">
<a href=\"#\"><img src=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/hdg-img.png"), "html", null, true);
echo "\" alt=\"hdg\"></a>
<h1>";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html", null, true);
echo "</h1>
<span><i class=\"fa icon-art\"></i></span>
</div>
<form method=\"post\" class=\"comment-form \">
";
// line 35
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 35, $this->source); })())) {
// line 36
echo " <div class=\"alert alert-danger\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 36, $this->source); })()), "messageKey", [], "any", false, false, false, 36), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 36, $this->source); })()), "messageData", [], "any", false, false, false, 36), "security"), "html", null, true);
echo "</div>
";
}
// line 38
echo "
";
// line 39
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "user", [], "any", false, false, false, 39)) {
// line 40
echo " <div class=\"mb-3\">
";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" You are logged in as"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "user", [], "any", false, false, false, 41), "username", [], "any", false, false, false, 41), "html", null, true);
echo ", <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Logout"), "html", null, true);
echo "</a>
</div>
";
}
// line 44
echo "
<h4 class=\"h3 mb-3 font-weight-normal\">";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please sign in"), "html", null, true);
echo "</h4>
<label for=\"inputEmail\">Email</label>
<input type=\"email\" value=\"";
// line 47
echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 47, $this->source); })()), "html", null, true);
echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
<label for=\"inputPassword\">";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Password"), "html", null, true);
echo "</label>
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 51
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<br><br>
<button class=\"btn btn-lg btn-nearest\" type=\"submit\">
";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign in"), "html", null, true);
echo "
</button>
</form>
</div>
</div>
<div class=\"row\">
<a href=\"";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register");
echo "\">or SIGN UP </a>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE CONTACT DES END-->
</div>
<!--KODE 404 WRAP END-->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 179 => 60, 170 => 54, 164 => 51, 158 => 48, 154 => 47, 149 => 45, 146 => 44, 134 => 41, 131 => 40, 129 => 39, 126 => 38, 120 => 36, 118 => 35, 111 => 31, 107 => 30, 88 => 14, 84 => 13, 79 => 11, 71 => 5, 61 => 4, 50 => 1, 48 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% set page =\"login\" %}
{% block body %}
<!--KODE SAB BANNER WRAP START-->
<div class=\"kode_sab_banner_wrap them_overlay\">
<!--CONTAINER START-->
<div class=\"container\">
<div class=\"sab_banner_text\">
<h2>{{ 'Sign in'|trans }}</h2>
<ul class=\"breadcrumbs\">
<li><a href=\"{{ path('app_front_main_index') }}\"><i class=\"fa fa-home\"></i></a></li>
<li><strong>{{ 'Sign in'|trans }}</strong></li>
</ul>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE 404 WRAP START-->
<div class=\"kode_contact_wrap\">
<!--CONTAINER START-->
<!--KODE CONTACT DES START-->
<div class=\"kode_contact_des\">
<div class=\"container\">
<div class=\"row\">
<div class=\"kode_contact_field\">
<div class=\"section_hdg hdg_2 hdg_3\">
<a href=\"#\"><img src=\"{{asset('images/hdg-img.png')}}\" alt=\"hdg\"></a>
<h1>{{ 'Sign in'|trans }}</h1>
<span><i class=\"fa icon-art\"></i></span>
</div>
<form method=\"post\" class=\"comment-form \">
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
{{' You are logged in as'|trans}} {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">{{'Logout'|trans}}</a>
</div>
{% endif %}
<h4 class=\"h3 mb-3 font-weight-normal\">{{'Please sign in'|trans}}</h4>
<label for=\"inputEmail\">Email</label>
<input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required autofocus>
<label for=\"inputPassword\">{{'Password'|trans}}</label>
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<br><br>
<button class=\"btn btn-lg btn-nearest\" type=\"submit\">
{{'Sign in'|trans}}
</button>
</form>
</div>
</div>
<div class=\"row\">
<a href=\"{{path('app_register')}}\">or SIGN UP </a>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE CONTACT DES END-->
</div>
<!--KODE 404 WRAP END-->
{% endblock %}
", "security/login.html.twig", "/var/www/sharjah/templates/security/login.html.twig");
}
}