summaryrefslogtreecommitdiff
path: root/src/medsrv/templates/user/add.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/medsrv/templates/user/add.cs')
-rwxr-xr-xsrc/medsrv/templates/user/add.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/medsrv/templates/user/add.cs b/src/medsrv/templates/user/add.cs
new file mode 100755
index 000000000..8ba4e5c96
--- /dev/null
+++ b/src/medsrv/templates/user/add.cs
@@ -0,0 +1,28 @@
+<?cs include:"templates/header.cs" ?>
+<form method="post">
+<?cs if:?error ?>
+ <div class="error"><?cs var:error ?></div>
+<?cs /if ?>
+ <table class="user">
+ <tr>
+ <td><label for="new_login">Username</label></td>
+ <td><input type="text" id="new_login" name="new_login" class="focus" maxlength="30" value="<?cs var:new_login ?>"/></td>
+ </tr>
+ <tr>
+ <td><label for="new_password">Password</label></td>
+ <td><input type="password" id="new_password" name="new_password"/></td>
+ <td><small>min. <?cs var:password_length ?> characters</small></td>
+ </tr>
+ <tr>
+ <td><label for="confirm_password">Confirm password</label></td>
+ <td><input type="password" id="confirm_password" name="confirm_password"/></td>
+ </tr>
+ <tr>
+ <td/>
+ <td class="right">
+ <input type="submit" value="Register" name="register"/>
+ </td>
+ </tr>
+</table>
+</form>
+<?cs include:"templates/footer.cs" ?>