{% extends 'AppBundle::layout.html.twig' %}
{% block body %}
    <div class="row">
        <div class="col-lg-6 col-md-5 col-sm-3 col-xs-1"></div>
        <div class="col-lg-8 col-md-10 col-sm-14 col-xs-18">
            <h3>Connexion à Studio Geppetto</h3>
            <form action="{{ path('fos_user_security_check') }}" method="post" autocomplete="off">
                <div class="input-group">
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-user"></span>
                    </span>
                    <input id="username" name="_username" class="form-control" placeholder="Nom d'utilisateur" aria-describedby="basic-addon1" autofocus="autofocus"/>
                </div>
                <br/>
                <div class="input-group">
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-lock"></span>
                    </span>
                    <input type="password" id="_password" name="_password" placeholder="Mot de passe" class="form-control" aria-describedby="basic-addon1"/>
                </div>
                <br/>
                <input name="_csrf_token" value="{{ csrf_token("intention") }}" type="hidden"/>
                <button id="submit" name="_submit" class="btn btn-default" type="submit">Connexion</button>
            </form>
        </div>
        <div class="col-lg-6 col-md-5 col-sm-3 col-xs-1"></div>
    </div>
{% endblock %}