<?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_6c99c4c7d50cfd76f771a7ae99dbf82bf1b058f44ae1eb7d04a5ebf919fee2ad extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'headerTitle' => [$this, 'block_headerTitle'],
'messages' => [$this, 'block_messages'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base_login.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"));
$this->parent = $this->loadTemplate("base_login.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 2
public function block_headerTitle($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", "headerTitle"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerTitle"));
echo "Login";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 3
public function block_messages($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", "messages"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messages"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
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 6
echo "
<div class=\"row mt-3\">
<div class=\"col-sm-12 login-logo text-center\">
<img src=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("layout/dist/images/logo.svg"), "html", null, true);
echo "\" width=\"150px\">
</div>
</div>
<div class=\"row login justify-content-center mt-3\">
<div class=\"col-xl-10 col-lg-12 col-md-9\">
<div class=\"card o-hidden border-0 shadow-lg my-5\">
<div class=\"card-body p-0\">
";
// line 18
echo twig_include($this->env, $context, "flash_messages.html.twig");
echo "
<!-- Nested Row within Card Body -->
<div class=\"row\">
<div class=\"col-lg-6 d-none d-lg-block bg-login-image\" style=\"background: url(https://source.unsplash.com/featured/?architecture,modern/800x600); background-position: center; background-size: cover;\">
<div class=\"credits\">Fotos auf <a href=\"https://unsplash.com?utm_medium=referral\" target=\"_blank\">Unsplash</a> </div>
</div>
<div class=\"col-lg-6\">
<div class=\"p-5\">
<div class=\"text-center\">
<h1 class=\"h4 text-gray-900 mb-4\">Willkommen zurück!</h1>
</div>
<form method=\"post\" action=\"";
// line 30
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\" class=\"user\">
";
// line 31
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 31, $this->source); })())) {
// line 32
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.', 32, $this->source); })()), "messageKey", [], "any", false, false, false, 32), 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.', 32, $this->source); })()), "messageData", [], "any", false, false, false, 32), "security"), "html", null, true);
echo "</div>
";
}
// line 34
echo "
";
// line 35
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.', 35, $this->source); })()), "user", [], "any", false, false, false, 35)) {
// line 36
echo " <div class=\"mb-3\">
Sie sind bereits angemeldet als ";
// line 37
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.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "username", [], "any", false, false, false, 37), "html", null, true);
echo ", <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">Abmelden?</a>
</div>
";
}
// line 40
echo "
<div class=\"form-group\">
<input type=\"email\" value=\"";
// line 42
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.', 42, $this->source); })()), "html", null, true);
echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control form-control-user\" placeholder=\"Ihre E-Mail-Adresse\" required autofocus>
</div>
<div class=\"form-group\">
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control form-control-user\" placeholder=\"Ihr Passwort\" required>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 48
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<div class=\"form-row\">
<div class=\"form-group col-sm-12 col-md-6\">
<button class=\"btn btn-sm btn-primary\" type=\"submit\">
Anmelden
</button>
</div>
<div class=\"form-group col-sm-12 col-md-6 text-right\">
<a class=\"btn btn-sm btn-outline-secondary\" href=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
echo "\">Passwort vergessen?</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__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 ( 192 => 57, 180 => 48, 171 => 42, 167 => 40, 159 => 37, 156 => 36, 154 => 35, 151 => 34, 145 => 32, 143 => 31, 139 => 30, 124 => 18, 112 => 9, 107 => 6, 97 => 5, 79 => 3, 60 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base_login.html.twig' %}
{% block headerTitle %}Login{% endblock %}
{% block messages %}
{% endblock %}
{% block body %}
<div class=\"row mt-3\">
<div class=\"col-sm-12 login-logo text-center\">
<img src=\"{{ asset('layout/dist/images/logo.svg') }}\" width=\"150px\">
</div>
</div>
<div class=\"row login justify-content-center mt-3\">
<div class=\"col-xl-10 col-lg-12 col-md-9\">
<div class=\"card o-hidden border-0 shadow-lg my-5\">
<div class=\"card-body p-0\">
{{ include('flash_messages.html.twig') }}
<!-- Nested Row within Card Body -->
<div class=\"row\">
<div class=\"col-lg-6 d-none d-lg-block bg-login-image\" style=\"background: url(https://source.unsplash.com/featured/?architecture,modern/800x600); background-position: center; background-size: cover;\">
<div class=\"credits\">Fotos auf <a href=\"https://unsplash.com?utm_medium=referral\" target=\"_blank\">Unsplash</a> </div>
</div>
<div class=\"col-lg-6\">
<div class=\"p-5\">
<div class=\"text-center\">
<h1 class=\"h4 text-gray-900 mb-4\">Willkommen zurück!</h1>
</div>
<form method=\"post\" action=\"{{ path('app_login') }}\" class=\"user\">
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
Sie sind bereits angemeldet als {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">Abmelden?</a>
</div>
{% endif %}
<div class=\"form-group\">
<input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control form-control-user\" placeholder=\"Ihre E-Mail-Adresse\" required autofocus>
</div>
<div class=\"form-group\">
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control form-control-user\" placeholder=\"Ihr Passwort\" required>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<div class=\"form-row\">
<div class=\"form-group col-sm-12 col-md-6\">
<button class=\"btn btn-sm btn-primary\" type=\"submit\">
Anmelden
</button>
</div>
<div class=\"form-group col-sm-12 col-md-6 text-right\">
<a class=\"btn btn-sm btn-outline-secondary\" href=\"{{ path('app_forgot_password_request') }}\">Passwort vergessen?</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}", "security/login.html.twig", "/home/gncyonsi/public_html/z-concepts-docustack-dev/releases/20221220084321/templates/security/login.html.twig");
}
}