| 1 |
{% extends "account/base_entrance.html" %} |
| 2 |
{% load i18n allauth account %} |
| 3 |
{% block head_title %} |
| 4 |
{% trans "Password Reset" %} |
| 5 |
{% endblock head_title %} |
| 6 |
{% block content %} |
| 7 |
{% element h1 %} |
| 8 |
{% trans "Password Reset" %} |
| 9 |
{% endelement %} |
| 10 |
{% if user.is_authenticated %} |
| 11 |
{% include "account/snippets/already_logged_in.html" %} |
| 12 |
{% endif %} |
| 13 |
{% element p %} |
| 14 |
{% trans "Forgotten your password? Enter your email address below, and we'll send you an email allowing you to reset it." %} |
| 15 |
{% endelement %} |
| 16 |
{% url 'account_reset_password' as reset_url %} |
| 17 |
{% element form form=form method="post" action=reset_url %} |
| 18 |
{% slot body %} |
| 19 |
{% csrf_token %} |
| 20 |
{% element fields form=form %} |
| 21 |
{% endelement %} |
| 22 |
{{ redirect_field }} |
| 23 |
{% endslot %} |
| 24 |
{% slot actions %} |
| 25 |
{% element button type="submit" %} |
| 26 |
{% trans 'Reset My Password' %} |
| 27 |
{% endelement %} |
| 28 |
{% endslot %} |
| 29 |
{% endelement %} |
| 30 |
{% element p %} |
| 31 |
{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %} |
| 32 |
{% endelement %} |
| 33 |
{% endblock content %} |