2009-05-13 05:48:10 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
registration_form.html | {{ block.super }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
<h1>registration_form.html</h1>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2013-07-02 18:10:45 +01:00
|
|
|
<form action="{% url registration_register %}" method="POST">{% csrf_token %}
|
2009-05-30 16:17:19 +01:00
|
|
|
{% for error in form.non_field_errors %}
|
|
|
|
<span style="color:red">{{ error }}</span>
|
|
|
|
{% endfor %}
|
2009-05-13 05:48:10 +01:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td align="right" valign="top">Username:</td>
|
|
|
|
<td>
|
|
|
|
{{ form.username }} <br/>
|
|
|
|
{% for error in form.username.errors %}
|
|
|
|
<span style="color:red">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="right" valign="top">Email:</td>
|
|
|
|
<td>
|
|
|
|
{{ form.email }} <br/>
|
|
|
|
{% for error in form.email.errors %}
|
|
|
|
<span style="color:red">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="right" valign="top">Password:</td>
|
|
|
|
<td>
|
|
|
|
{{ form.password1 }} <br/>
|
|
|
|
{% for error in form.password1.errors %}
|
|
|
|
<span style="color:red">{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
<td><input type="submit" value="Register" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
2009-05-30 16:17:19 +01:00
|
|
|
{% endblock %}
|