summaryrefslogtreecommitdiffstats
path: root/at/templates/register.html
diff options
context:
space:
mode:
Diffstat (limited to 'at/templates/register.html')
-rw-r--r--at/templates/register.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/at/templates/register.html b/at/templates/register.html
new file mode 100644
index 0000000..9c6399f
--- /dev/null
+++ b/at/templates/register.html
@@ -0,0 +1,36 @@
+{% extends "basic.html" %}
+{% block content %}
+<h2>Register a new account</h2>
+{% for error in get_flashed_messages() %}
+<p class="error">{{ error }}</p>
+{% endfor %}
+<form action="" method="POST">
+ <table>
+ <label><tr>
+ <td>login</td>
+ <td><input type="text" name="login" value="{{ login }}"></td>
+ </tr></label>
+ <label><tr>
+ <td>password</td>
+ <td><input type="password" name="password"></td>
+ </tr></label>
+ <label><tr>
+ <td>confirm password</td>
+ <td><input type="password" name="password2"></td>
+ </tr></label>
+ <label><tr>
+ <td>homepage url</td>
+ <td><input type="text" name="url" value="{{ url }}"></td>
+ </tr></label>
+ <label><tr>
+ <td>use wiki page as url</td>
+ <td><input type="checkbox" name="wiki"
+ value="yes" {% if wiki == 'yes' %}checked="yes"{% endif %}></td>
+ </tr</label>
+ <tr>
+ <td></td>
+ <td><input type="submit" value="register"></input></td>
+ </tr>
+ </table>
+</form>
+{% endblock %}