<?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;
/* auth/login.html.twig */
class __TwigTemplate_438783529438233d34db382b280937ee1ea90dcc5ff711fd1e7863de7dca8d08 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.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", "auth/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", "auth/login.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "auth/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 3
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo "
<main id=\"main\" role=\"main\">
<section id=\"connexion-page\" class=\"apk-connexion\">
<div class=\"uk-container apk-container-600\">
<div class=\"uk-text-center\">
<h1 class=\"uk-h2\">";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connexion"), "html", null, true);
echo "</h1>
</div>
<form class=\"uk-margin-medium-top\" method=\"POST\" action=\"";
// line 11
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\">
";
// line 13
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 13, $this->source); })())) {
echo "
<div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
<a class=\"uk-alert-close\" uk-close></a>
";
// line 17
echo twig_escape_filter($this->env, 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.', 17, $this->source); })()), "getMessage", [], "method", false, false, false, 17), "html", null, true);
echo "
<div class=\"uk-margin-small-top apk-font-14\">
<a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ask_reset_password");
echo "\">
";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mot de passe oublié ? Cliquez-ici !"), "html", null, true);
echo "
</a>
</div>
</div>
";
}
// line 25
echo "
";
// line 26
if ((array_key_exists("message", $context) && (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 26, $this->source); })()))) {
// line 27
echo "
<div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
<a class=\"uk-alert-close\" uk-close></a>
";
// line 30
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.', 30, $this->source); })()), "html", null, true);
echo "
</div>
";
}
// line 33
echo "
<div>
<label for=\"_username\">";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Identifiant"), "html", null, true);
echo "</label>
<input class=\"uk-input uk-margin-small-top\" type=\"text\" name=\"_username\" id=\"_username\"
placeholder=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Identifiant"), "html", null, true);
echo "\">
</div>
<div class=\"uk-margin-top\">
<label for=\"_password\">";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mot de passe"), "html", null, true);
echo "</label>
<input class=\"uk-input uk-margin-small-top\" type=\"password\" name=\"_password\" id=\"_password\"
placeholder=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mot de passe"), "html", null, true);
echo "\">
</div>
<div class=\"uk-margin-small-top uk-margin-small-left apk-font-14\">
<a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ask_reset_password");
echo "\">
";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Mot de passe oublié ?"), "html", null, true);
echo "
</a>
</div>
<div class=\"uk-margin-medium-top uk-text-center\">
";
// line 50
if ((isset($context["_target_path"]) || array_key_exists("_target_path", $context) ? $context["_target_path"] : (function () { throw new RuntimeError('Variable "_target_path" does not exist.', 50, $this->source); })())) {
// line 51
echo " <input type=\"hidden\" name=\"_target_path\" value=\"";
echo twig_escape_filter($this->env, (isset($context["_target_path"]) || array_key_exists("_target_path", $context) ? $context["_target_path"] : (function () { throw new RuntimeError('Variable "_target_path" does not exist.', 51, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 53
echo " <input class=\"uk-button uk-button-blue1 uk-button-large uk-text-uppercase\" type=\"submit\" name=\"_submit\" value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connexion"), "html", null, true);
echo "\">
</div>
<div class=\"uk-margin-small-top uk-text-center\">
<a href=\"";
// line 56
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
echo "\">
";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inscription"), "html", null, true);
echo "
</a>
</div>
</form>
</div>
</section>
</main><!-- end #main -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "auth/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 181 => 57, 177 => 56, 170 => 53, 164 => 51, 162 => 50, 155 => 46, 151 => 45, 145 => 42, 140 => 40, 134 => 37, 129 => 35, 125 => 33, 119 => 30, 114 => 27, 112 => 26, 109 => 25, 101 => 20, 97 => 19, 92 => 17, 85 => 13, 80 => 11, 75 => 9, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block content %}
<main id=\"main\" role=\"main\">
<section id=\"connexion-page\" class=\"apk-connexion\">
<div class=\"uk-container apk-container-600\">
<div class=\"uk-text-center\">
<h1 class=\"uk-h2\">{{'Connexion' |trans}}</h1>
</div>
<form class=\"uk-margin-medium-top\" method=\"POST\" action=\"{{path('login')}}\">
{% if error %}
<div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
<a class=\"uk-alert-close\" uk-close></a>
{{error.getMessage()}}
<div class=\"uk-margin-small-top apk-font-14\">
<a href=\"{{path(\"ask_reset_password\")}}\">
{{\"Mot de passe oublié ? Cliquez-ici !\" |trans}}
</a>
</div>
</div>
{% endif %}
{% if message is defined and message %}
<div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
<a class=\"uk-alert-close\" uk-close></a>
{{message}}
</div>
{% endif %}
<div>
<label for=\"_username\">{{'Identifiant'|trans}}</label>
<input class=\"uk-input uk-margin-small-top\" type=\"text\" name=\"_username\" id=\"_username\"
placeholder=\"{{'Identifiant' |trans}}\">
</div>
<div class=\"uk-margin-top\">
<label for=\"_password\">{{'Mot de passe'|trans}}</label>
<input class=\"uk-input uk-margin-small-top\" type=\"password\" name=\"_password\" id=\"_password\"
placeholder=\"{{'Mot de passe' |trans}}\">
</div>
<div class=\"uk-margin-small-top uk-margin-small-left apk-font-14\">
<a href=\"{{path(\"ask_reset_password\")}}\">
{{\"Mot de passe oublié ?\" |trans}}
</a>
</div>
<div class=\"uk-margin-medium-top uk-text-center\">
{% if _target_path %}
<input type=\"hidden\" name=\"_target_path\" value=\"{{_target_path}}\">
{% endif %}
<input class=\"uk-button uk-button-blue1 uk-button-large uk-text-uppercase\" type=\"submit\" name=\"_submit\" value=\"{{'Connexion' | trans}}\">
</div>
<div class=\"uk-margin-small-top uk-text-center\">
<a href=\"{{path(\"register\")}}\">
{{\"Inscription\" | trans}}
</a>
</div>
</form>
</div>
</section>
</main><!-- end #main -->
{% endblock %}
", "auth/login.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/auth/login.html.twig");
}
}