{% extends 'adherent/layout_base.html.twig' %}
{% block title %}Mot de passe oublié - {{ parent() }}{% endblock %}
{% block body %}
<div class="align-items-center d-flex justify-content-center vh-100">
<div style="max-width: 350px" class="border border-secondary m-4 p-4 rounded shadow">
<h1 class="text-uppercase text-center fs-25 fw-black">
Mot de passe oublié
</h1>
{% if email %}
<p class="fs-14 mt-4 text-center">
Si un compte associé à l'adresse <strong>{{ email }}</strong> existe un email de réinitialisation y a été envoyé
</p>
{% else %}
<p class="fs-14 mb-4">
Indiquez votre e-mail et un lien de réinitialisation de mot de passe vous sera envoyé
</p>
{{ form_start(form) }}
{{ form_row(form.email, {'attr': {'autofocus':'autofocus'}}) }}
<div class="text-end fw-medium" style="margin-top: -0.7rem">
<a href="{{ path('login') }}" class="text-black" tabindex="-1">Retourner à la connexion</a>
</div>
{{ form_rest(form) }}
<button class="mt-4 w-100 btn btn-lg btn-outline-dark arrow-left rounded-pill" type="submit">
Réinitialiser
</button>
{{ form_end(form) }}
{% endif %}
</div>
</div>
{% endblock %}