summaryrefslogtreecommitdiff
path: root/templates/pwchange.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pwchange.html')
-rw-r--r--templates/pwchange.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/pwchange.html b/templates/pwchange.html
new file mode 100644
index 0000000..a7e0605
--- /dev/null
+++ b/templates/pwchange.html
@@ -0,0 +1,23 @@
+<!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'/>
+ </form>
+ </sub:bodyform>
+</html>