summaryrefslogtreecommitdiffstats
path: root/templates/register.html
blob: 9c6399f00647ebea37661da149c4f48f31e07146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 %}