2022-10-16 10:36:53 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Log in!{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="login-wrapper">
|
|
|
|
<div class="login">
|
|
|
|
<form method="post">
|
|
|
|
{% if error %}
|
|
|
|
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2023-01-07 22:07:15 +01:00
|
|
|
<h1 class="h3 mb-3 font-weight-normal">Se connecter</h1>
|
2022-10-16 10:36:53 +02:00
|
|
|
<label for="inputEmail">Email</label>
|
|
|
|
<input type="email" value="{{ last_username }}" name="email" id="inputEmail" class="form-control" required autofocus>
|
2023-01-07 22:07:15 +01:00
|
|
|
<label for="inputPassword">Mot de passe</label>
|
2022-10-16 10:36:53 +02:00
|
|
|
<input type="password" name="password" id="inputPassword" class="form-control" required>
|
|
|
|
|
|
|
|
<input type="hidden" name="_csrf_token"
|
|
|
|
value="{{ csrf_token('authenticate') }}"
|
|
|
|
>
|
2023-01-07 22:07:15 +01:00
|
|
|
<button class="btn btn-lg btn-primary mt-3" type="submit">
|
|
|
|
Valider
|
2022-10-16 10:36:53 +02:00
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|