<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;

/* security/login.html.twig */
class __TwigTemplate_2a0e280be18fca4592e0f526d802c964 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "frontend/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));

        $this->parent = $this->load("frontend/layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));

        // line 4
        yield "\t<div class=\"container\">
\t\t<div class=\"page-header\">
\t\t\t<h1 class=\"page-title\">Connexion à SIG-ODD</h1>
\t\t</div>
\t\t<div style=\"margin: 0 -15px 40px -15px\"></div>
\t\t<form method=\"post\" role=\"form\" class=\"php-login-form\">
            <input type=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
        yield "\">
            <div class=\"members-form\">
\t\t\t\t<div class=\"mb-4\">
\t\t\t\t\t<label for=\"username\" class=\"form-label\">E-mail</label>
\t\t\t\t\t<input type=\"email\" name=\"username\" class=\"form-control\" id=\"inputUsername\" required autofocus />
                </div>
\t\t\t\t<div class=\"mb-4\">
\t\t\t\t\t<label for=\"login-password\" class=\"form-label\">";
        // line 17
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.password", [], "messages");
        yield "</label>
\t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" data-rule=\"minlen:8\" data-msg=\"Please enter at least 8 chars of subject\" required />
\t\t\t\t</div>
\t\t\t\t<div class=\"mb-3 text-center\">
\t\t\t\t\t";
        // line 21
        if ((($tmp = (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 21, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 22
            yield "                        <div class=\"error-message\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 22, $this->source); })()), "messageKey", [], "any", false, false, false, 22), CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 22, $this->source); })()), "messageData", [], "any", false, false, false, 22), "security"), "html", null, true);
            yield "</div>
                    ";
        }
        // line 24
        yield "\t\t\t\t</div>
                <div class=\"mb-3 text-center\">
\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary px-5 py-2\">";
        // line 26
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.submit", [], "messages");
        yield "</button>
\t\t\t\t</div>
\t\t\t\t<!-- <p class=\"text-center mb-0\">
\t\t\t\t\t<a href=\"";
        // line 29
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_email");
        yield "\">Mot de passe oublié?</a>
\t\t\t\t</p> -->
\t\t\t</div>
\t\t</form>
\t</div>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "security/login.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  110 => 29,  104 => 26,  100 => 24,  94 => 22,  92 => 21,  85 => 17,  75 => 10,  67 => 4,  57 => 3,  40 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends 'frontend/layout.html.twig' %}

{% block content %}
\t<div class=\"container\">
\t\t<div class=\"page-header\">
\t\t\t<h1 class=\"page-title\">Connexion à SIG-ODD</h1>
\t\t</div>
\t\t<div style=\"margin: 0 -15px 40px -15px\"></div>
\t\t<form method=\"post\" role=\"form\" class=\"php-login-form\">
            <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
            <div class=\"members-form\">
\t\t\t\t<div class=\"mb-4\">
\t\t\t\t\t<label for=\"username\" class=\"form-label\">E-mail</label>
\t\t\t\t\t<input type=\"email\" name=\"username\" class=\"form-control\" id=\"inputUsername\" required autofocus />
                </div>
\t\t\t\t<div class=\"mb-4\">
\t\t\t\t\t<label for=\"login-password\" class=\"form-label\">{% trans %}security.login.password{% endtrans %}</label>
\t\t\t\t\t<input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" data-rule=\"minlen:8\" data-msg=\"Please enter at least 8 chars of subject\" required />
\t\t\t\t</div>
\t\t\t\t<div class=\"mb-3 text-center\">
\t\t\t\t\t{% if error %}
                        <div class=\"error-message\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
                    {% endif %}
\t\t\t\t</div>
                <div class=\"mb-3 text-center\">
\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary px-5 py-2\">{% trans %}security.login.submit{% endtrans %}</button>
\t\t\t\t</div>
\t\t\t\t<!-- <p class=\"text-center mb-0\">
\t\t\t\t\t<a href=\"{{ path('app_email') }}\">Mot de passe oublié?</a>
\t\t\t\t</p> -->
\t\t\t</div>
\t\t</form>
\t</div>
{% endblock %}
", "security/login.html.twig", "C:\\Users\\dev29\\Documents\\code source mes odd\\httpdocs\\templates\\security\\login.html.twig");
    }
}
