31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
|
{% extends "utility_page.html" %}
|
||
|
|
||
|
{% load i18n %}
|
||
|
{% load bootstrap %}
|
||
|
{% load account_tags %}
|
||
|
|
||
|
{% block head_title %}{% trans "Password reset" %}{% endblock %}
|
||
|
{% block page_title %}{% trans "Password reset" %}{% endblock %}
|
||
|
|
||
|
{% user_display request.user as user_display %}
|
||
|
|
||
|
{% block utility_body %}
|
||
|
<form method="POST" action="">
|
||
|
<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>
|
||
|
<fieldset class="row">
|
||
|
{% csrf_token %}
|
||
|
{% include "_form_snippet.html" with form=form %}
|
||
|
<button type="submit" class="btn btn-primary">
|
||
|
{% trans "Reset my password" %}
|
||
|
</button>
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
<p>{% blocktrans %}If you have any trouble resetting your password, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block extra_body %}
|
||
|
<script>
|
||
|
$("#id_email").focus();
|
||
|
</script>
|
||
|
{% endblock %}
|