<?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;

/* security/login.html.twig */
class __TwigTemplate_724e810691207c00cb427046d6e4c3bb257183f6a7a43deef7cd5b352746b5d5 extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'stylesheets' => [$this, 'block_stylesheets'],
            'body' => [$this, 'block_body'],
            'javascripts' => [$this, 'block_javascripts'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "base.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", "security/login.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));

        $this->parent = $this->loadTemplate("base.html.twig", "security/login.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 2
    public function block_title($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", "title"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        echo "Log in!
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    // line 4
    public function block_stylesheets($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", "stylesheets"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));

        // line 5
        echo "\t<link rel=\"stylesheet\" href=\"";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/login.css"), "html", null, true);
        echo "\">
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    // line 9
    public function block_body($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", "body"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 10
        echo "\t

\t<section class=\"wrapper\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"col-lg-6 col-md-6 col-sm-6\" style=\"background-image: url(";
        // line 14
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/login.png"), "html", null, true);
        echo ");\">


\t\t\t\t<div class=\"fond_gauche\"></div>
\t\t\t</div>
\t\t\t<div class=\"col-lg-6 col-md-6 col-sm-6\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"grand_titre_si\">
\t\t\t\t\t\t<div class=\"bg_titre\">
\t\t\t\t\t\t\t<span>SOUND'S</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"sm_titre\">
\t\t\t\t\t\t\t<span>HOTELS GROUP</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"div_parag\">
\t\t\t\t\t\t<p>Veuillez vous connecter à votre compte.</p>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"form\">
\t\t\t\t\t\t<form method=\"post\">
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<span class=\"span__label\"></span>
\t\t\t\t\t\t\t\t<input type=\"email\" name=\"email\" data-placeholder=\"Adresse mail\" class=\"form-control\" id=\"inputEmail\" value=\"";
        // line 40
        echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 40, $this->source); })()), "html", null, true);
        echo "\" placeholder=\"Adresse mail\">


\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<span class=\"span__label\"></span><input type=\"password\" class=\"form-control\" name=\"password\" data-placeholder=\"Password\" id=\"inputPassword\" placeholder=\"Password\">

\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group div__check\">
\t\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"remember_me\" name=\"_remember_me\" value=\"remember\">

\t\t\t\t\t\t\t\t<label for=\"remember_me\">Se souvenir de moi</label>
\t\t\t\t\t\t\t\t<a href=\"";
        // line 52
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("forgot_password");
        echo "\" id=\"link_forgot_pass\">
\t\t\t\t\t\t\t\t\t<span>Mot de passe oublié</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
        // line 56
        if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 56, $this->source); })())) {
            // line 57
            echo "\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 57, $this->source); })()), "messageKey", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 57, $this->source); })()), "messageData", [], "any", false, false, false, 57), "security"), "html", null, true);
            echo "</div>
\t\t\t\t\t\t\t";
        }
        // line 59
        echo "\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"hidden\" name=\"_csrf_token\" value=\"";
        // line 60
        echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
        echo "\">
\t\t\t\t\t\t\t";
        // line 71
        echo "
\t\t\t\t\t\t\t<div class=\"form-group last_iput\">
\t\t\t\t\t\t\t\t<input type=\"submit\" value=\"Login\" id=\"btn_login\" class=\"btn btn-md\" name=\"\">
                                <a href=\"";
        // line 74
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("insert.by.login");
        echo "\" 
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
        // line 76
        if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 76, $this->source); })()), "user", [], "any", false, false, false, 76)) {
            // line 77
            echo "\t\t\t\t\t\t\t\t\t\t\tdisabled = \"false\"
\t\t\t\t\t\t\t\t\t";
        } else {
            // line 79
            echo "\t\t\t\t\t\t\t\t\t\t\tdisabled = \"true\"\t\t\t
\t\t\t\t\t\t\t\t\t";
        }
        // line 81
        echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t class=\"btn btn-md\" id=\"btn_si\">S'inscrire</a>

\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</form>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>

";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    // line 93
    public function block_javascripts($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", "javascripts"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));

        // line 94
        echo "\t
\t<script>

\t\t/*animation des input  */

        \$(document).ready(function () {
            \$(\"input[placeholder]\").on({
                focus: function () {
                \$(this).parent().children(\".span__label\").text(\$(this).attr('placeholder'));
                \$(this).attr('placeholder', ' ');
                \$(this).css(\"border-color\", \"#d29e00\");
            },
            blur: function () {
                var t = \$(this).attr('data-placeholder');
                \$(this).attr('placeholder', t);
                \$(this).parent().children(\".span__label\").text(\"\");
                \$(this).css(\"border-color\", \"#e2e3e6\");
                }
            })
        })

/* / animation des input  */

\t</script>

";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    public function getTemplateName()
    {
        return "security/login.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  237 => 94,  227 => 93,  206 => 81,  202 => 79,  198 => 77,  196 => 76,  191 => 74,  186 => 71,  182 => 60,  179 => 59,  173 => 57,  171 => 56,  164 => 52,  149 => 40,  120 => 14,  114 => 10,  104 => 9,  91 => 5,  81 => 4,  61 => 2,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'base.html.twig' %}
{% block title %}Log in!
{% endblock %}
{% block stylesheets %}
\t<link rel=\"stylesheet\" href=\"{{asset('css/login.css')}}\">
{% endblock %}


{% block body %}
\t

\t<section class=\"wrapper\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"col-lg-6 col-md-6 col-sm-6\" style=\"background-image: url({{ asset('images/login.png') }});\">


\t\t\t\t<div class=\"fond_gauche\"></div>
\t\t\t</div>
\t\t\t<div class=\"col-lg-6 col-md-6 col-sm-6\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"grand_titre_si\">
\t\t\t\t\t\t<div class=\"bg_titre\">
\t\t\t\t\t\t\t<span>SOUND'S</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"sm_titre\">
\t\t\t\t\t\t\t<span>HOTELS GROUP</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"div_parag\">
\t\t\t\t\t\t<p>Veuillez vous connecter à votre compte.</p>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"form\">
\t\t\t\t\t\t<form method=\"post\">
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<span class=\"span__label\"></span>
\t\t\t\t\t\t\t\t<input type=\"email\" name=\"email\" data-placeholder=\"Adresse mail\" class=\"form-control\" id=\"inputEmail\" value=\"{{ last_username }}\" placeholder=\"Adresse mail\">


\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<span class=\"span__label\"></span><input type=\"password\" class=\"form-control\" name=\"password\" data-placeholder=\"Password\" id=\"inputPassword\" placeholder=\"Password\">

\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group div__check\">
\t\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"remember_me\" name=\"_remember_me\" value=\"remember\">

\t\t\t\t\t\t\t\t<label for=\"remember_me\">Se souvenir de moi</label>
\t\t\t\t\t\t\t\t<a href=\"{{ path('forgot_password') }}\" id=\"link_forgot_pass\">
\t\t\t\t\t\t\t\t\t<span>Mot de passe oublié</span>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% if error %}
\t\t\t\t\t\t\t\t<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
\t\t\t\t\t\t\t{#
\t\t\t\t\t\t\t                                Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
\t\t\t\t\t\t\t                                See https://symfony.com/doc/current/security/remember_me.html
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t                                <div class=\"checkbox mb-3\">
\t\t\t\t\t\t\t                                    <label>
\t\t\t\t\t\t\t                                        <input type=\"checkbox\" name=\"_remember_me\"> Remember me
\t\t\t\t\t\t\t                                    </label>
\t\t\t\t\t\t\t                                </div>
\t\t\t\t\t\t\t                            #}

\t\t\t\t\t\t\t<div class=\"form-group last_iput\">
\t\t\t\t\t\t\t\t<input type=\"submit\" value=\"Login\" id=\"btn_login\" class=\"btn btn-md\" name=\"\">
                                <a href=\"{{ path('insert.by.login') }}\" 
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{% if app.user %}
\t\t\t\t\t\t\t\t\t\t\tdisabled = \"false\"
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\tdisabled = \"true\"\t\t\t
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t class=\"btn btn-md\" id=\"btn_si\">S'inscrire</a>

\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</form>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>

{% endblock %}
{% block javascripts %}
\t
\t<script>

\t\t/*animation des input  */

        \$(document).ready(function () {
            \$(\"input[placeholder]\").on({
                focus: function () {
                \$(this).parent().children(\".span__label\").text(\$(this).attr('placeholder'));
                \$(this).attr('placeholder', ' ');
                \$(this).css(\"border-color\", \"#d29e00\");
            },
            blur: function () {
                var t = \$(this).attr('data-placeholder');
                \$(this).attr('placeholder', t);
                \$(this).parent().children(\".span__label\").text(\"\");
                \$(this).css(\"border-color\", \"#e2e3e6\");
                }
            })
        })

/* / animation des input  */

\t</script>

{% endblock %}

", "security/login.html.twig", "F:\\Projet_symfony\\sounds\\templates\\security\\login.html.twig");
    }
}
