<?php

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

/* PimUserBundle:Security:login.html.twig */
class __TwigTemplate_f5b50ae4a76752da3ced23c969b885e06ad40e487a6630fce7c6cf85565c42f2 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

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

    protected function doGetParent(array $context)
    {
        // line 1
        return "PimUserBundle::layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("PimUserBundle::layout.html.twig", "PimUserBundle:Security:login.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_bodyClass($context, array $blocks = [])
    {
        echo "AknLogin";
    }

    // line 5
    public function block_content($context, array $blocks = [])
    {
        // line 6
        echo "<script type=\"text/javascript\" nonce=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('Akeneo\Platform\Bundle\UIBundle\Twig\ContentSecurityPolicyExtension')->getScriptNonce(), "html", null, true);
        echo "\">
    sessionStorage.clear();
    document.title = '";
        // line 8
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Login"), "html", null, true);
        echo "';
</script>

<div class=\"AknLogin-mainContainer container\">
    <div class=\"AknLogin-title\">
        ";
        // line 13
        $this->loadTemplate("PimUserBundle:Security:login.html.twig", "PimUserBundle:Security:login.html.twig", 13, "719252568")->display($context);
        // line 14
        echo "    </div>

    ";
        // line 16
        if (($context["error"] ?? null)) {
            // line 17
            echo "        <div class=\"AknMessageBox AknMessageBox--error\">
            ";
            // line 18
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($this->getAttribute(($context["error"] ?? null), "messageKey", []), $this->getAttribute(($context["error"] ?? null), "messageData", []), "security"), "html", null, true);
            echo "
        </div>
    ";
        }
        // line 21
        echo "
    <form action=\"";
        // line 22
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath(($context["action_route"] ?? null));
        echo "\" method=\"post\" class=\"form-signin form-inline\">
        <div class=\"AknLogin-form\">
            <div class=\"AknLogin-formCell\">
                <input class=\"AknTextField\" type=\"text\" id=\"prependedInput\" autofocus=\"autofocus\" name=\"_username\" value=\"";
        // line 25
        echo twig_escape_filter($this->env, ($context["last_username"] ?? null), "html", null, true);
        echo "\" required=\"required\" placeholder=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_user.user.login.username_or_email"), "html", null, true);
        echo "\" size=\"1\"/>
            </div>
            <div class=\"AknLogin-formCell\">
                <input class=\"AknTextField\" type=\"password\" id=\"prependedInput2\" name=\"_password\" required=\"required\" placeholder=\"";
        // line 28
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_user.user.fields.password"), "html", null, true);
        echo "\" autocomplete=\"off\" size=\"1\"/>
            </div>
        </div>
        <div class=\"AknLogin-form\">
            <div class=\"AknLogin-formCell\">
                <label class=\"checkbox remember-me\">
                    <input type=\"checkbox\" id=\"remember_me\" name=\"_remember_me\" value=\"on\" /> ";
        // line 34
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_user.user.login.remember_me"), "html", null, true);
        echo "
                </label>
            </div>
            <div class=\"AknLogin-formCell AknLogin-formCell--small\">
                <div class=\"signin-help\">
                    <a class=\"AknLogin-link\" href=\"";
        // line 39
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("pim_user_reset_request");
        echo "\">";
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_user.user.login.password_forgotten"), "html", null, true);
        echo "</a>
                </div>
                <button class=\"AknButton AknButton--apply AknButton--big\" type=\"submit\" id=\"_submit\" name=\"_submit\">";
        // line 41
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_user.user.login.log_in"), "html", null, true);
        echo "</button>
            </div>
        </div>
        <input type=\"hidden\" name=\"_target_path\" value=\"\" />
        <input type=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 45
        echo twig_escape_filter($this->env, ($context["csrf_token"] ?? null), "html", null, true);
        echo "\" />
        ";
        // line 46
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["additional_hidden_fields"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
            // line 47
            echo "            <input type=\"hidden\" name=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "field_name", []), "html", null, true);
            echo "\" value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["app"] ?? null), "request", []), "query", []), "get", [0 => $this->getAttribute($context["field"], "initialized_by", [])], "method"), "html", null, true);
            echo "\" />
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 49
        echo "    </form>
</div>
";
    }

    public function getTemplateName()
    {
        return "PimUserBundle:Security:login.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  147 => 49,  136 => 47,  132 => 46,  128 => 45,  121 => 41,  114 => 39,  106 => 34,  97 => 28,  89 => 25,  83 => 22,  80 => 21,  74 => 18,  71 => 17,  69 => 16,  65 => 14,  63 => 13,  55 => 8,  49 => 6,  46 => 5,  40 => 3,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "PimUserBundle:Security:login.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Bundle/Resources/views/Security/login.html.twig");
    }
}


/* PimUserBundle:Security:login.html.twig */
class __TwigTemplate_f5b50ae4a76752da3ced23c969b885e06ad40e487a6630fce7c6cf85565c42f2___719252568 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 13
        return "PimUIBundle::logo.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("PimUIBundle::logo.html.twig", "PimUserBundle:Security:login.html.twig", 13);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    public function getTemplateName()
    {
        return "PimUserBundle:Security:login.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  196 => 13,  147 => 49,  136 => 47,  132 => 46,  128 => 45,  121 => 41,  114 => 39,  106 => 34,  97 => 28,  89 => 25,  83 => 22,  80 => 21,  74 => 18,  71 => 17,  69 => 16,  65 => 14,  63 => 13,  55 => 8,  49 => 6,  46 => 5,  40 => 3,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "PimUserBundle:Security:login.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/Bundle/Resources/views/Security/login.html.twig");
    }
}
