<?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_c8c2528853987b14f81fe8c383edb00d6a073d9c8e70515f831433eb26037bab 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"));
$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 "<form method=\"post\" name=\"loginform\" id=\"loginform\">
";
// line 21
echo "
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 25
$this->loadTemplate("security/login.html.twig", "security/login.html.twig", 25, "1777410142")->display($context);
// line 26
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t<!-- Page Header Start -->
\t\t\t\t\t\t<div class=\"page-header\">
\t\t\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<h2>Login</h2>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!-- Page Header End -->
\t\t\t\t\t
\t\t\t\t
<input type=\"hidden\" id=\"checkout\" name=\"checkout\" value=\"";
// line 44
echo twig_escape_filter($this->env, (isset($context["checkout"]) || array_key_exists("checkout", $context) ? $context["checkout"] : (function () { throw new RuntimeError('Variable "checkout" does not exist.', 44, $this->source); })()), "html", null, true);
echo "\">
<div class=\"contact\">
<div class=\"container\">
<div class=\"col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
<div class=\"contact-form\">
";
// line 49
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 49, $this->source); })())) {
// line 50
echo "\t\t\t\t\t\t\t\t<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.', 50, $this->source); })()), "messageKey", [], "any", false, false, false, 50), 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.', 50, $this->source); })()), "messageData", [], "any", false, false, false, 50), "security"), "html", null, true);
echo "</div>
\t\t\t\t\t\t\t";
}
// line 52
echo "
\t\t\t\t\t\t\t";
// line 53
if ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 53, $this->source); })())) {
// line 54
echo "\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">";
echo twig_escape_filter($this->env, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 54, $this->source); })()), "html", null, true);
echo "</div>
\t\t\t\t\t\t\t";
}
// line 56
echo "
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"username\" id=\"inputusername\" placeholder=\"Benutzername\" required=\"required\" autofocus />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" placeholder=\"Passwort\" required=\"required\" />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"submitter\" href=\"javascript:submitThis();\">einloggen</a>
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"registerer\" href=\"javascript:register();\">registrieren</a>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 74
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pwforgot");
echo "\">Passwort vergessen?</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
</div>
</div>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 82
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
</form>
\t<script>
\t
\t\$('#inputusername').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\t\$('#inputPassword').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\tfunction register()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\tlocation.href=\"";
// line 102
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
echo "\";
\t}\t
\t
\tfunction submitThis()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\t\$('#loginform').submit();
\t}
\t</script>
";
$__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 ( 185 => 102, 162 => 82, 151 => 74, 131 => 56, 125 => 54, 123 => 53, 120 => 52, 114 => 50, 112 => 49, 104 => 44, 84 => 26, 82 => 25, 76 => 21, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<form method=\"post\" name=\"loginform\" id=\"loginform\">
{#
Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
See https://symfony.com/doc/current/security/remember_me.html
<div class=\"checkbox mb-3\">
<label>
<input type=\"checkbox\" name=\"_remember_me\"> Remember me
</label>
</div>
#}
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% embed \"nav.html.twig\" %}{% endembed %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t<!-- Page Header Start -->
\t\t\t\t\t\t<div class=\"page-header\">
\t\t\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<h2>Login</h2>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!-- Page Header End -->
\t\t\t\t\t
\t\t\t\t
<input type=\"hidden\" id=\"checkout\" name=\"checkout\" value=\"{{ checkout }}\">
<div class=\"contact\">
<div class=\"container\">
<div class=\"col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
<div class=\"contact-form\">
{% if error %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if message %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">{{ message }}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"username\" id=\"inputusername\" placeholder=\"Benutzername\" required=\"required\" autofocus />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" placeholder=\"Passwort\" required=\"required\" />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"submitter\" href=\"javascript:submitThis();\">einloggen</a>
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"registerer\" href=\"javascript:register();\">registrieren</a>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('pwforgot') }}\">Passwort vergessen?</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
</div>
</div>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</form>
\t<script>
\t
\t\$('#inputusername').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\t\$('#inputPassword').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\tfunction register()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\tlocation.href=\"{{ path('register') }}\";
\t}\t
\t
\tfunction submitThis()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\t\$('#loginform').submit();
\t}
\t</script>
{% endblock %}
", "security/login.html.twig", "/var/www/vhosts/essener-sportbund.de/kursetest.essener-sport-betriebsgesellschaft.de/kurstool/templates/security/login.html.twig");
}
}
/* security/login.html.twig */
class __TwigTemplate_c8c2528853987b14f81fe8c383edb00d6a073d9c8e70515f831433eb26037bab___1777410142 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 25
return "nav.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("nav.html.twig", "security/login.html.twig", 25);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 358 => 25, 185 => 102, 162 => 82, 151 => 74, 131 => 56, 125 => 54, 123 => 53, 120 => 52, 114 => 50, 112 => 49, 104 => 44, 84 => 26, 82 => 25, 76 => 21, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<form method=\"post\" name=\"loginform\" id=\"loginform\">
{#
Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
See https://symfony.com/doc/current/security/remember_me.html
<div class=\"checkbox mb-3\">
<label>
<input type=\"checkbox\" name=\"_remember_me\"> Remember me
</label>
</div>
#}
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% embed \"nav.html.twig\" %}{% endembed %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t<!-- Page Header Start -->
\t\t\t\t\t\t<div class=\"page-header\">
\t\t\t\t\t\t\t<div class=\"container\">
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t\t\t\t\t\t<h2>Login</h2>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!-- Page Header End -->
\t\t\t\t\t
\t\t\t\t
<input type=\"hidden\" id=\"checkout\" name=\"checkout\" value=\"{{ checkout }}\">
<div class=\"contact\">
<div class=\"container\">
<div class=\"col-12 wow fadeInUp\" data-wow-delay=\"0.1s\">
<div class=\"contact-form\">
{% if error %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if message %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">{{ message }}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"username\" id=\"inputusername\" placeholder=\"Benutzername\" required=\"required\" autofocus />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"control-group\">
\t\t\t\t\t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" placeholder=\"Passwort\" required=\"required\" />
\t\t\t\t\t\t\t\t\t<p class=\"help-block text-danger\"></p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"submitter\" href=\"javascript:submitThis();\">einloggen</a>
\t\t\t\t\t\t\t\t\t<a class=\"btn\" id=\"registerer\" href=\"javascript:register();\">registrieren</a>
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<br>
\t\t\t\t\t\t\t\t\t<a href=\"{{ path('pwforgot') }}\">Passwort vergessen?</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
</div>
</div>
</div>
</div>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</form>
\t<script>
\t
\t\$('#inputusername').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\t\$('#inputPassword').keypress(function (e) {
\tif (e.which == 13) {
\t\tsubmitThis();
\t}
\t});
\t
\tfunction register()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\tlocation.href=\"{{ path('register') }}\";
\t}\t
\t
\tfunction submitThis()
\t{
\t\t\$('#submitter').css('display','none');
\t\t\$('#registerer').css('display','none');
\t\t\$('#loginform').submit();
\t}
\t</script>
{% endblock %}
", "security/login.html.twig", "/var/www/vhosts/essener-sportbund.de/kursetest.essener-sport-betriebsgesellschaft.de/kurstool/templates/security/login.html.twig");
}
}