1294.1.2
by William Grant
Add a non-AJAX password change view. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:py="http://genshi.edgewall.org/"> |
|
3 |
<head>
|
|
4 |
<title>Change password - ${user.nick}</title> |
|
5 |
</head> |
|
6 |
<body>
|
|
7 |
<h1>Change password for ${user.nick}</h1> |
|
8 |
<div id="ivle_padding"> |
|
1294.1.10
by William Grant
Switch to CSS form layout for the user edit views. |
9 |
<form class="verticalform" action="" method="post"> |
10 |
<div>
|
|
11 |
<label for="field_old_password">Old password:</label> |
|
12 |
<input type="password" name="old_password" id="field_old_password" size="40" /> |
|
13 |
</div> |
|
14 |
<div>
|
|
15 |
<label for="field_new_password">New password:</label> |
|
16 |
<input type="password" name="new_password" id="field_new_password" size="40" /> |
|
17 |
</div> |
|
18 |
<div>
|
|
19 |
<label for="field_new_password_again">New password (again):</label> |
|
20 |
<input type="password" name="new_password_again" id="field_new_password_again" size="40" /> |
|
21 |
</div> |
|
22 |
||
1456
by William Grant
Apply the form_error class to password change/reset errors. |
23 |
<p class="form_error" py:if="error" py:content="error" /> |
1294.1.2
by William Grant
Add a non-AJAX password change view. |
24 |
<p><input type="submit" value="Change password" /></p> |
1294.1.10
by William Grant
Switch to CSS form layout for the user edit views. |
25 |
|
1294.1.5
by William Grant
Add a view for admins to reset other users' passwords. |
26 |
<p py:if="req.user.admin"> |
27 |
Admins may also |
|
28 |
<a href="/~${user.login}/+resetpassword">reset passwords</a> |
|
29 |
without knowledge of the old one. |
|
30 |
</p> |
|
1294.1.2
by William Grant
Add a non-AJAX password change view. |
31 |
</form> |
32 |
</div> |
|
33 |
</body> |
|
34 |
</html> |