source: mauRepo/dj_security/trunk/dj_security/templates/authopenid/password_change_form.html @ 8650

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/templates/authopenid/password_change_form.html@8650
Revision 8650, 1.5 KB checked in by mnagni, 7 years ago (diff)

Share project "dj_security" into " http://proj.badc.rl.ac.uk/svn/ndg/mauRepo"

  • Property svn:mime-type set to text/plain
Line 
1{% extends "authopenid/base.html" %}
2{% load i18n %}
3
4
5{% block content %}
6
7
8
9
10{% if set_password %}
11<h1>{% trans 'Set password' %}</h1>
12<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
13
14<form action="" method="post">
15{% csrf_token %}
16{{ form.new_password1.errors }}
17<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
18{{ form.new_password2.errors }}
19<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
20<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
21</form>
22
23{% else %}
24
25<h1>{% trans 'Password change' %}</h1>
26<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
27
28<form action="" method="post">
29{% csrf_token %}
30{{ form.old_password.errors }}
31<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
32{{ form.new_password1.errors }}
33<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
34{{ form.new_password2.errors }}
35<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
36
37<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
38</form>
39
40
41
42{% endif %}
43{% endblock %}
Note: See TracBrowser for help on using the repository browser.