summaryrefslogtreecommitdiff
path: root/templates/pwchange.html
diff options
context:
space:
mode:
authorequinox <equinox@diac24.net>2011-09-27 02:09:53 +0200
committerequinox <equinox@diac24.net>2011-09-27 02:09:53 +0200
commit8d2b75d61631e0794d436eefefb25644de1d2de4 (patch)
tree01193f125c25b3f1068ae4638a002aedb5387c01 /templates/pwchange.html
parented927fd7ccafebfa68dc327c7389876131a9a870 (diff)
password change application
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>