0
|
1 |
{% extends "registration/base.html" %} |
|
2 |
{% load i18n %} |
|
3 |
|
|
4 |
{% block breadcrumb %} |
|
5 |
<li></li> |
|
6 |
<li>{% trans 'Password reset' %}</li> |
|
7 |
{% endblock %} |
|
8 |
|
|
9 |
{% block content_title %}{% trans 'Password reset' %}{% endblock %} |
|
10 |
|
|
11 |
{% block iricontent %} |
|
12 |
|
|
13 |
{% if validlink %} |
|
14 |
|
|
15 |
<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p> |
|
16 |
|
|
17 |
<form action="" method="post"> |
|
18 |
{{ form.new_password1.errors }} |
|
19 |
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p> |
|
20 |
{{ form.new_password2.errors }} |
|
21 |
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p> |
|
22 |
<p><input type="submit" value="{% trans 'Change my password' %}" /></p> |
|
23 |
</form> |
|
24 |
|
|
25 |
{% else %} |
|
26 |
|
|
27 |
<h1>{% trans 'Password reset unsuccessful' %}</h1> |
|
28 |
|
|
29 |
<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p> |
|
30 |
|
|
31 |
{% endif %} |
|
32 |
|
|
33 |
{% endblock %} |