2015-01-17 23:08:41 +01:00
|
|
|
{% extends "account/base.html" %}
|
|
|
|
{% load account i18n crispy_forms_tags %}
|
|
|
|
|
2023-04-16 22:11:32 +02:00
|
|
|
{% block title %}{{ block.super }} - {% translate "Password Reset" %}{% endblock title %}
|
|
|
|
{% block page_title %}{% translate "Password Reset" %}{% endblock page_title %}
|
2015-01-17 23:08:41 +01:00
|
|
|
|
|
|
|
{% block content %}
|
2023-04-16 22:11:32 +02:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
{% include "account/snippets/already_logged_in.html" %}
|
|
|
|
{% endif %}
|
2015-01-17 23:08:41 +01:00
|
|
|
|
2023-04-16 22:11:32 +02:00
|
|
|
<p>{% translate "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
|
2015-01-17 23:08:41 +01:00
|
|
|
|
2023-04-16 22:11:32 +02:00
|
|
|
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form | crispy }}
|
|
|
|
<input class="btn btn-primary" type="submit" value="{% translate "Reset My Password" %}"/>
|
|
|
|
</form>
|
2015-01-17 23:08:41 +01:00
|
|
|
|
2023-04-16 22:11:32 +02:00
|
|
|
<p>{% blocktranslate trimmed %}Please contact us if you have any trouble resetting your password.{% endblocktranslate %}</p>
|
2015-01-17 23:08:41 +01:00
|
|
|
{% endblock %}
|