{% extends 'security/base.html.twig' %}
{% block security_title %}Connexion{% endblock %}
{% block security_form %}
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<form action="{{ path('security_login') }}" method="post">
{% if csrf_token %}
<input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
{% endif %}
<div class="form-group">
<input placeholder="Login ou email" type="text" class="form-control" required name="_username">
</div>
<div class="form-group">
<input placeholder="Mot de passe" type="password" class="form-control" required name="_password">
</div>
<div class="row">
<div class="col-md-6">
<a href="{{ path('app_forgot_password_request') }}">Mot de passe oubliƩ</a>
</div>
<div class="col-md-6 text-right">
<button type="submit" class="btn btn-primary">Connexion</button>
</div>
</div>
</form>
{% endblock security_form %}