0
|
1 |
{% extends "registration/base.html" %} |
|
2 |
{% load i18n %} |
|
3 |
{% block js_import %}{{ block.super }} |
|
4 |
|
|
5 |
<script type="text/javascript"> |
|
6 |
$(document).ready(function() { |
|
7 |
$("#pwd_change_form").validate(); |
|
8 |
}); |
|
9 |
</script> |
|
10 |
{% endblock %} |
|
11 |
{% block breadcrumb %} |
|
12 |
<li></li> |
|
13 |
<li><a href="{% url ldt.user.views.profile %}">{% trans "Profiles" %}</a></li> |
|
14 |
<li>{% trans 'Password change' %}</li> |
|
15 |
{% endblock %} |
|
16 |
|
|
17 |
{% block content_title %}{% trans 'Password change' %}{% endblock %} |
|
18 |
{% block iricontent %} |
|
19 |
|
|
20 |
<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> |
|
21 |
|
|
22 |
<form action="" method="post" id="pwd_change_form"> |
|
23 |
<table cellspacing="10px"> |
|
24 |
|
|
25 |
<tr> |
|
26 |
<td><label for="id_old_password">{% trans 'Old password:' %}</label></td> |
|
27 |
<td><input id="id_old_password" name="old_password" type="password" class="required"/></td> |
|
28 |
<td>{{ form.old_password.errors }}</td> |
|
29 |
</tr> |
|
30 |
|
|
31 |
<tr> |
|
32 |
<td><label for="id_new_password1">{% trans 'New password:' %}</label></td> |
|
33 |
<td><input id="id_new_password1" type="password" name="new_password1" class="required"/></td> |
|
34 |
<td>{{ form.new_password1.errors }}</td> |
|
35 |
</tr> |
|
36 |
|
|
37 |
<tr> |
|
38 |
<td><label for="id_new_password2">{% trans 'Confirm password:' %}</label></td> |
|
39 |
<td><input id="id_new_password2" type="password" name="new_password2" class="required"/></td> |
|
40 |
<td>{{ form.new_password2.errors }}</td> |
|
41 |
</tr> |
|
42 |
</table> |
|
43 |
|
|
44 |
<input type="submit" class="button" value="{% trans 'Change my password' %}"/> |
|
45 |
</form> |
|
46 |
|
|
47 |
{% endblock %} |