{% extends "account/_layout.html" %} {% load account %} {% load i18n %} {% block page_title %}{% trans "Password Reset" %} | {{ block.super }}{% endblock %} {% block main_content %}

{% trans "Password Reset" %}

{% if user.is_authenticated %}
{% include "account/snippets/already_logged_in.html" %}

{% trans 'Go back to the homepage' %}

{% else %}

{% trans "Have you forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

{% csrf_token %}
{{ form.email.label_tag }} {{ form.email }} {% if form.errors.email %}
{% for error in form.errors.email %}

{{ error }}

{% endfor %}
{% endif %}

{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}

{% endif %}
{% endblock %}