{% extends 'back.html.twig' %}
{% block title %}Mot de passe oublié{% endblock %}
{% block body %}
<div class="row justify-content-center m_t_50">
<div class="col-md-6">
<div class="card">
<div class="card-header">Mot de passe oublié</div>
<div class="card-body">
<form method="post">
{% if message %}
<div class="row m_t_15 justify-content-center">
<div class="col-12">
<div class="alert alert-{% if error %}danger{% else %}success{% endif %} m_t_15">{{ message }}</div>
</div>
</div>
{% endif %}
<p>Pour nous aider à le retrouver, veuillez renseigner votre email d'inscription.</p>
<div class="row">
<div class="col-12">
<div class="form-group">
<input type="email" name="email" id="inputEmail" class="form-control"
autocomplete="off"
placeholder="Adresse email" required autofocus>
</div>
</div>
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<div class="row">
<div class="col-6">
<button class="btn btn-primary px-4" type="submit">Envoyer</button>
</div>
<div class="col-6 text-right">
<a class="btn btn-link px-0" href="{{ path('app_login') }}">S'authentifier</a>
</div>
</div>
</form>
</div>
</div>
</div>
{% endblock %}