{% extends 'base_frontend.html.twig' %}

{% block content %}
<!-- ============================================== HEADER : END ============================================== -->
<div class="breadcrumb">
	<div class="container">
		<div class="breadcrumb-inner">
			<ul class="list-inline list-unstyled">
				<li><a href="{{ path('frontend_home_index') }}">Accueil</a></li>
				<li class='active'>Connexion</li>
			</ul>
		</div><!-- /.breadcrumb-inner -->
	</div><!-- /.container -->
</div><!-- /.breadcrumb -->

<div class="body-content ">
	<div class="container">
		<div class="sign-in-page">
			<div class="row">
				<!-- Sign-in -->			
                <div class="col-md-offset-3 col-md-6 col-sm-6 sign-in">
                    
                    <form class="register-form outer-top-xs" role="form"  method="post">

                        <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">

                        <h3 class="">Vos informations de connexion</h3>
                        {% if error %}
                            <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
                        {% endif %}
                        {#<p class="">Hello, Welcome to your account.</p>#}
                    
                    
                        <div class="form-group">
                            <label class="info-title" for="exampleInputEmail1">Email Address <span>*</span></label>
                            <input type="email" value="{{ last_username }}" name="email" id="inputEmail" class="form-control unicase-form-control text-input" required autofocus>
                        </div>
                        
                        <div class="form-group">
                            <label class="info-title" for="exampleInputPassword1">Mot de passe <span>*</span></label>
                            <input type="password" name="password" id="inputPassword"  class="form-control unicase-form-control text-input" required>
                        </div>
                        
                        <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" >

                        <div class="radio outer-xs">
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">Rester connecté !
                            </label>
                            <a href="#" class="forgot-password pull-right">Mot de passe oublié ?</a>
                        </div>
                        <button type="submit" class="btn-upper btn btn-primary checkout-page-button">Se connecter</button>
                    </form>					
                </div>
                <!-- Sign-in -->		
            </div><!-- /.row -->
		</div><!-- /.sigin-in-->
        <br><br><br><br>
    </div>
</div>
{% endblock %}