account/password_reset.html

{% extends "site_base.html" %}

{% load i18n %}
{% load bootstrap %}
{% load account_tags %}

{% block body_class %}account account-password-reset{% endblock %}
{% block head_title %}{% trans "Password reset" %}{% endblock %}

{% user_display request.user as user_display %}

{% block body %}
    <form method="POST" action="">
        <legend>{% trans "Password reset" %}</legend>
        <p class="lead">{% trans "Forgotten your password? Enter your email address below, and we'll send you an email allowing you to reset it." %}</p>
        {% csrf_token %}
        {{ form|bootstrap }}
        <div class="form-actions">
            <button>{% trans "Reset my password" %}</button>
        </div>
        <p class="help-text">{% blocktrans %}If you have any trouble resetting your password, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
    </form>
{% endblock %}

{% block extra_body %}
    <script>
        $("#id_email").focus();
    </script>
{% endblock %}