<?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/loginOLD.html.twig */
class __TwigTemplate_ede20ff0e4bda5f46e28bdfd989db815 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 = [
            'page_title' => [$this, 'block_page_title'],
            'page_subtitle' => [$this, 'block_page_subtitle'],
            'page_breadcrumb' => [$this, 'block_page_breadcrumb'],
            'page_content' => [$this, 'block_page_content'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/layout/public-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_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield "Système Intégré de Gestion des ODD";
        yield from [];
    }

    // line 4
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_subtitle(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield from [];
    }

    // line 5
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_breadcrumb(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield "Connexion";
        yield from [];
    }

    // line 7
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 8
        yield "<section id=\"login\" class=\"login\">
    <div class=\"container\">
        <h2 class=\"text-center\">Connexion</h2>
            <div class=\"row mt-5\">

                <div class=\"col-lg-3\" data-aos=\"fade-right\"></div>

                <div class=\"col-lg-6 mt-4 mt-lg-0\" data-aos=\"fade-left\">

                    <form method=\"post\" role=\"form\" class=\"php-login-form\">
                        <input type=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 18
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
        yield "\">
                        <div class=\"form-group\">
                            <input type=\"text\" name=\"username\" class=\"form-control\" id=\"inputUsername\" placeholder=\"";
        // line 20
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.username", [], "messages");
        yield "\" data-rule=\"minlen:4\" data-msg=\"Please enter at least 4 chars\" required autofocus />
                            <div class=\"validate\"></div>
                        </div>
                        <div class=\"form-group\">
                            <input type=\"password\" class=\"form-control\" name=\"password\" id=\"inputPassword\" placeholder=\"";
        // line 24
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.password", [], "messages");
        yield "\" data-rule=\"minlen:4\" data-msg=\"Please enter at least 8 chars of subject\" required />
                            <div class=\"validate\"></div>
                        </div>

                        <div class=\"mb-3\">
                            ";
        // line 29
        if ((($tmp = ($context["error"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 30
            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, 30), CoreExtension::getAttribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 30), "security"), "html", null, true);
            yield "</div>
                            ";
        }
        // line 32
        yield "                        </div>
                        <div class=\"text-center\"><button type=\"submit\" class=\"btn btn-primary\">";
        // line 33
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.submit", [], "messages");
        yield "</button></div>
                    </form>

                </div>

                <div class=\"col-lg-3\" data-aos=\"fade-right\"></div>

            </div>

    </div>
</section>



<!--div class=\"text-center\">
    <div class=\"login-box\" style=\"margin: auto;\">
        <div class=\"login-logo\">
         <a href=\"";
        // line 50
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
        yield "\">Sig<b>ODD</b></a>
        </div>

        ";
        // line 53
        if ((($tmp = ($context["error"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 54
            yield "            <div class=\"alert alert-danger\">";
            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, 54), CoreExtension::getAttribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 54), "security"), "html", null, true);
            yield "</div>
        ";
        }
        // line 56
        yield "
        <div class=\"card\">
            <div class=\"card-body login-card-body\">
                <p class=\"login-box-msg\">Connexion à l'aide de vos identifiants</p>
        
                <form method=\"post\">
                    <input type=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 62
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
        yield "\">             
                    <div class=\"input-group mb-3\">
                        <input type=\"text\" value=\"";
        // line 64
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["last_username"] ?? null), "html", null, true);
        yield "\" name=\"username\" id=\"inputUsername\" class=\"form-control\" placeholder=\"";
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.username", [], "messages");
        yield "\" required autofocus>
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" placeholder=\"";
        // line 70
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.password", [], "messages");
        yield "\" required>
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-lock\"></span>
                        </div>
                    </div>
                    <div class=\"row\">
                        <div class=\"col-7\">
                            <div class=\"icheck-primary\">
                                <input type=\"checkbox\" name=\"_remember_me\">
                                <label for=\"remember\">";
        // line 79
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.remember_me", [], "messages");
        yield "</label>
                            </div>
                        </div>

                        <div class=\"col-5\">
                            <button type=\"submit\" class=\"btn btn-primary btn-block btn-flat\">";
        // line 84
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("security.login.submit", [], "messages");
        yield "</button>
                        </div>

                    </div>
                </form>
        
                <!--div class=\"social-auth-links text-center mb-3\">
                    <p>- OR -</p>
                    <a href=\"#\" class=\"btn btn-block btn-primary\">
                        <i class=\"fab fa-facebook mr-2\"></i> Sign in using Facebook
                    </a>
                    <a href=\"#\" class=\"btn btn-block btn-danger\">
                        <i class=\"fab fa-google-plus mr-2\"></i> Sign in using Google+
                    </a>
                </div>

                <hr>
                <p class=\"mb-1\">
                    <a href=\"";
        // line 102
        yield "\">Mot de passe oublié?</a>
                </p>
                <p class=\"mb-0\">
                    <a href=\"";
        // line 105
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register");
        yield "\" class=\"text-center\">Register a new membership</a>
                </p>
            </div>
            
        </div>
    </div>
</div-->
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  240 => 105,  235 => 102,  214 => 84,  206 => 79,  194 => 70,  183 => 64,  178 => 62,  170 => 56,  164 => 54,  162 => 53,  156 => 50,  136 => 33,  133 => 32,  127 => 30,  125 => 29,  117 => 24,  110 => 20,  105 => 18,  93 => 8,  86 => 7,  75 => 5,  65 => 4,  54 => 3,  43 => 1,);
    }

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