summaryrefslogtreecommitdiff
path: root/templates/create.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/create.html')
-rw-r--r--templates/create.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/create.html b/templates/create.html
new file mode 100644
index 0000000..2ac6563
--- /dev/null
+++ b/templates/create.html
@@ -0,0 +1,21 @@
+<!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>create</title>
+ </head>
+ <sub:bodyform>
+ <form action='docreate' 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">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='create'/>
+ </form>
+ </sub:bodyform>
+</html>