<?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_39ec26cd6113b964781ae0917607805e 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;
        $this->parent = $this->load("frontend/layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // 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 = ($context["error"] ?? null)) && $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, ($context["error"] ?? null), "messageKey", [], "any", false, false, false, 22), CoreExtension::getAttribute($this->env, $this->source, ($context["error"] ?? null), "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>
";
        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 (  101 => 29,  95 => 26,  91 => 24,  85 => 22,  83 => 21,  76 => 17,  66 => 10,  58 => 4,  51 => 3,  40 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "security/login.html.twig", "/var/www/html/templates/security/login.html.twig");
    }
}
