aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/new_user.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/new_user.html b/templates/new_user.html
new file mode 100644
index 0000000..29aa20f
--- /dev/null
+++ b/templates/new_user.html
@@ -0,0 +1,31 @@
+<h1>Create a new user</h1>
+<form id="new_user" name="user" method="post" action="/users/create">
+ <div class="field">
+ <label>Username:</label>
+ <input type="text" name="username" value="{{ user.username }}">
+ </div>
+
+ <div class="field">
+ <label>Real Name:</label>
+ <input type="text" name="realname" value="{{ realname() }}">
+ </div>
+
+ <div class="field">
+ <label>Email:</label>
+ <input type="text" name="email" value="{{ email() }}">
+ </div>
+
+ <div class="field">
+ <label>Password:</label>
+ <input type="text" name="password" value="">
+ </div>
+
+ <div class="field">
+ <label>Confirm password:</label>
+ <input type="text" name="email" value="">
+ </div>
+
+ <div class="actions">
+ <input type="submit" value="Create user">
+ </div>
+</form>