{% extends "base.html" %} {% block content %}

{% trans %}Réinitialiser le mot de passe{% endtrans %}

{% include "components/errors.html" %} {% if mode == "set" %} {% with form = Forms.auth.ResetPasswordForm() %}

{% trans %}Vous pouvez maintenant réinitialiser le mot de passe de votre compte et vous connecter. Veuillez saisir un nouveau mot de passe.{% endtrans %}

{{ form.password.label(class="form-label") }} {{ form.password(class="form-control") }}
{{ form.submit(class="btn btn-block btn-primary w-100") }}
{{ form.nonce() }}
{% endwith %} {% else %} {% with form = Forms.auth.ResetPasswordRequestForm() %}

{% trans %}Veuillez fournir ci-dessous l'adresse courriel associée à votre compte.{% endtrans %}

{{ form.email.label(class="form-label") }} {{ form.email(class="form-control ") }}
{{ form.submit(class="btn btn-block btn-primary w-100") }}
{{ form.nonce() }}
{% endwith %} {% endif %}
{% endblock %}