<?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;
/* front/security/login.html.twig */
class __TwigTemplate_18f188ab9473ea467af92e9f8918a8a74e3fe98fd7537a0a29f83c435b898b43 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "front/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", "front/security/login.html.twig"));
// line 1
$context["prefix_title"] = "Logowanie";
// line 2
$this->loadTemplate("front/_header-start.html.twig", "front/security/login.html.twig", 2)->display($context);
// line 3
echo "<main>
<div class=\"container\">
<p class=\"t-center mb-30\"><img src=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/front/logo-colors.svg"), "html", null, true);
echo "\"></p>
<h1 class=\"mb-30 t-center\">Logowanie</h1>
<div class=\"row\">
<div class=\"offset-lg-3 col-lg-6\">
<div class=\"bx-white pb-40\">
<script>
\$(document).ready(function(){
\$(\"form\").validate({
ignore: \":disabled, :hidden\"
});
});
</script>
<div class=\"row\">
<div class=\"offset-lg-2 col-lg-8 html-editor\">
<form action=\"";
// line 21
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" method=\"POST\" class=\"bx-padding\">
";
// line 22
$this->loadTemplate("admin/_flash-messages.html.twig", "front/security/login.html.twig", 22)->display($context);
// line 23
echo " <input type=\"hidden\" name=\"_csrf_token\" value=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<div class=\"form-field\">
<label for=\"_username\">E-mail</label>
<input type=\"email\" name=\"_username\" class=\"required form-control\" value=\"";
// line 26
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.', 26, $this->source); })()), "html", null, true);
echo "\" required>
</div>
<div class=\"form-field mb-10\">
<label for=\"_password\">Hasło</label>
<input type=\"password\" name=\"_password\" class=\"required form-control\">
</div>
<p class=\"text-right fr fs-14 mb-40\"><a href=\"";
// line 32
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remind_password");
echo "\"><strong>Nie pamiętasz hasła?</strong></a></p>
<button type=\"submit\" class=\"btn btn-thirdary full btn-submit\">ZALOGUJ </button>
</form>
<div class=\"t-center\">
<p>Nie posiadasz konta?<br/><a href=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
echo "\">Przejdź do rejestracji <i class=\"fad fa-chevron-right\"></i></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
";
// line 47
$this->loadTemplate("front/_footer.html.twig", "front/security/login.html.twig", 47)->display($context);
// line 48
$this->loadTemplate("front/_footer-end.html.twig", "front/security/login.html.twig", 48)->display($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "front/security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 115 => 48, 113 => 47, 99 => 36, 92 => 32, 83 => 26, 76 => 23, 74 => 22, 70 => 21, 52 => 6, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set prefix_title = 'Logowanie' %}
{% include'front/_header-start.html.twig' %}
<main>
<div class=\"container\">
<p class=\"t-center mb-30\"><img src=\"{{ asset(\"img/front/logo-colors.svg\") }}\"></p>
<h1 class=\"mb-30 t-center\">Logowanie</h1>
<div class=\"row\">
<div class=\"offset-lg-3 col-lg-6\">
<div class=\"bx-white pb-40\">
<script>
\$(document).ready(function(){
\$(\"form\").validate({
ignore: \":disabled, :hidden\"
});
});
</script>
<div class=\"row\">
<div class=\"offset-lg-2 col-lg-8 html-editor\">
<form action=\"{{ path('login') }}\" method=\"POST\" class=\"bx-padding\">
{% include 'admin/_flash-messages.html.twig' %}
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<div class=\"form-field\">
<label for=\"_username\">E-mail</label>
<input type=\"email\" name=\"_username\" class=\"required form-control\" value=\"{{ last_username }}\" required>
</div>
<div class=\"form-field mb-10\">
<label for=\"_password\">Hasło</label>
<input type=\"password\" name=\"_password\" class=\"required form-control\">
</div>
<p class=\"text-right fr fs-14 mb-40\"><a href=\"{{ path('remind_password') }}\"><strong>Nie pamiętasz hasła?</strong></a></p>
<button type=\"submit\" class=\"btn btn-thirdary full btn-submit\">ZALOGUJ </button>
</form>
<div class=\"t-center\">
<p>Nie posiadasz konta?<br/><a href=\"{{ path('register') }}\">Przejdź do rejestracji <i class=\"fad fa-chevron-right\"></i></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
{% include 'front/_footer.html.twig' %}
{% include'front/_footer-end.html.twig' %}", "front/security/login.html.twig", "/var/www/vhosts/honeti.net/wedoit.honeti.net/templates/front/security/login.html.twig");
}
}