summaryrefslogtreecommitdiff
path: root/templates/pwchange.html
blob: ec6ea345e537b1a69e60766f61097c77b9511891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:py="http://genshi.edgewall.org/"
	xmlns:sub="http://local.sublab.org/subdap/xmlns-templates"
	xmlns:xi="http://www.w3.org/2001/XInclude">
 <xi:include href="layout.xi"/>
 <head>
  <title>change password</title>
 </head>
 <sub:bodyform>
  <form action='pwchange' method='POST'>
   <div>uid: <input type='text' name='username' size="10" value="${username}"/></div>
   <b class="error" py:if="'username' in errors">${errors.username}</b>
   <div id="creatpw">old password: <input type='password' name='oldpassword' size="10" value=""/></div>
   <b class="error" py:if="'oldpassword' in errors">${errors.oldpassword}</b>
   <div id="creatpw">password: <input type='password' name='password' size="10" value=""/></div>
   <b class="error" py:if="'password' in errors">${errors.password}</b>
   <div>repeat: <input type='password' name='password2' size="10" value=""/></div>
   <b class="error" py:if="'password2' in errors">${errors.password2}</b>
   <input type='submit' value='change password'/>
   <p>The password change process takes around 20 to 30 seconds. Please do not spam the button.</p>
  </form>
 </sub:bodyform>
</html>