|
@@ -4,19 +4,18 @@
|
|
|
{% block titre %}Identification{% endblock %}
|
|
|
|
|
|
{% block body %}
|
|
|
- <div class="container">
|
|
|
<div class="row">
|
|
|
<div class="col-md-4">
|
|
|
<form method="post">
|
|
|
{% if error %}
|
|
|
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
|
|
{% endif %}
|
|
|
- <div class="input-group">
|
|
|
- <label for="inputUsername" class="sr-only">Login</label>
|
|
|
+ <label for="inputUsername" class="sr-only">Login</label>
|
|
|
+ <div class="input-group mb-3">
|
|
|
<input type="text" value="{{ last_username }}" name="username" id="inputUsername" class="form-control" placeholder="Login" required autofocus>
|
|
|
</div>
|
|
|
- <div class="input-group">
|
|
|
- <label for="inputPassword" class="sr-only">Mot de passe</label>
|
|
|
+ <label for="inputPassword" class="sr-only">Mot de passe</label>
|
|
|
+ <div class="input-group mb-3">
|
|
|
<input type="password" name="password" id="inputPassword" class="form-control" placeholder="Mot de passe" required>
|
|
|
</div>
|
|
|
<input type="hidden" name="_csrf_token"
|
|
@@ -33,7 +32,7 @@
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <button class="btn btn-primary" type="submit">
|
|
|
+ <button class="btn btn-primary mb-3" type="submit">
|
|
|
Se connecter
|
|
|
</button>
|
|
|
</form>
|
|
@@ -45,5 +44,4 @@
|
|
|
<p>Mot de passe oublié ? <a href="{{ path('security_envoyertoken') }}">Récupérer mot de passe</a></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
{% endblock %}
|