| 1 |
{% extends "account/base.html" %} |
| 2 |
|
| 3 |
{% load i18n %} |
| 4 |
{% load account %} |
| 5 |
{% load bootstrap_tags %} |
| 6 |
|
| 7 |
{% block head_title %}{% trans "Password Reset" %}{% endblock %} |
| 8 |
|
| 9 |
{% block content %} |
| 10 |
|
| 11 |
<h1>{% trans "Password Reset" %}</h1> |
| 12 |
{% if user.is_authenticated %} |
| 13 |
{% include "account/snippets/already_logged_in.html" %} |
| 14 |
{% endif %} |
| 15 |
|
| 16 |
<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p> |
| 17 |
|
| 18 |
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset form-horizontal"> |
| 19 |
{% bootstrap_form_horizontal form 2 4 %} |
| 20 |
<div class="form-group"> |
| 21 |
<div class="offset-md-2 col-md-10"> |
| 22 |
<button class="btn btn-primary" type="submit">{% trans "Reset My Password" %}</button> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
</form> |
| 26 |
|
| 27 |
<p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p> |
| 28 |
{% endblock %} |