<?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/ask_reset_password.html.twig */
class __TwigTemplate_f4481c73ec4ca80dedaa603694649bb6e972b3b872e1e8721ceb631d5626e69f 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/ask_reset_password.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/ask_reset_password.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "auth/ask_reset_password.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("Réinitaliser votre mot de passe"), "html", null, true);
echo "</h1>
</div>
<div class=\"apk-auth-card\">
<div class=\"form-wrapper\">
";
// line 14
if (array_key_exists("message", $context)) {
// line 15
echo " <div class=\"uk-alert-success\" uk-alert>
";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 16, $this->source); })())), "html", null, true);
echo "
</div>
";
} else {
// line 19
echo "
<!-- form -->
<form class=\"uk-margin-medium-top\" id=\"askForPassword\" method=\"POST\">
";
// line 24
if (array_key_exists("error", $context)) {
// line 25
echo " <div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 26, $this->source); })())), "html", null, true);
echo "
</div>
";
}
// line 29
echo " <div>
<label for=\"username\">";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email de connexion"), "html", null, true);
echo "</label>
<input type=\"email\" class=\"uk-input uk-margin-small-top\" placeholder=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email de connexion"), "html", null, true);
echo "\"
required autofocus name=\"username\" id=\"username\">
</div>
<div class=\"uk-margin-medium-top uk-text-center\">
<input type=\"submit\" name=\"submit\" class=\"uk-button uk-button-blue1 uk-button-large\"
value=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envoyer"), "html", null, true);
echo "\">
</div>
<a href=\"";
// line 39
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" class=\"btn btn-sm btn-outline-light ml-1\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connexion"), "html", null, true);
echo "</a>
</form>
<!-- ./ form -->
";
}
// line 44
echo "
</div>
</div>
</div>
</section>
</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "auth/ask_reset_password.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 143 => 44, 133 => 39, 127 => 36, 119 => 31, 115 => 30, 112 => 29, 106 => 26, 103 => 25, 101 => 24, 94 => 19, 88 => 16, 85 => 15, 83 => 14, 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\">{{'Réinitaliser votre mot de passe' |trans}}</h1>
</div>
<div class=\"apk-auth-card\">
<div class=\"form-wrapper\">
{% if message is defined %}
<div class=\"uk-alert-success\" uk-alert>
{{message |trans}}
</div>
{% else %}
<!-- form -->
<form class=\"uk-margin-medium-top\" id=\"askForPassword\" method=\"POST\">
{% if error is defined %}
<div class=\"uk-alert-danger uk-margin-bottom\" uk-alert>
{{error |trans}}
</div>
{% endif %}
<div>
<label for=\"username\">{{\"Email de connexion\" |trans}}</label>
<input type=\"email\" class=\"uk-input uk-margin-small-top\" placeholder=\"{{'Email de connexion' |trans}}\"
required autofocus name=\"username\" id=\"username\">
</div>
<div class=\"uk-margin-medium-top uk-text-center\">
<input type=\"submit\" name=\"submit\" class=\"uk-button uk-button-blue1 uk-button-large\"
value=\"{{\"Envoyer\" |trans}}\">
</div>
<a href=\"{{path(\"login\")}}\" class=\"btn btn-sm btn-outline-light ml-1\">{{\"Connexion\" |trans}}</a>
</form>
<!-- ./ form -->
{% endif %}
</div>
</div>
</div>
</section>
</main>
{% endblock %}", "auth/ask_reset_password.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/auth/ask_reset_password.html.twig");
}
}