view templates/registration/registration_form.html @ 27:e019ca8e14f6

Clean up templates
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Mon, 28 Jun 2010 22:36:53 -0500
parents 2e7226e90157
children eb3371142f4f
line wrap: on
line source

{% extends "whitebox.djhtml" %}

{% block boxtitle %}
Registration details
{% endblock %}


{% block boxcontents %}
<p>
  Please give us some basic information to set up your account.
  Valid usernames consist of letters, numbers, and underscores.
</p>

{% if form.errors %}
<p class="error">
  Please correct the errors below.
</p>
{% endif %}

<form action="." method="post">
  {% csrf_token %}
  <table>
    {{form.as_table}}
  </table>
  <input class="button" type="submit" value="Submit" />
</form>
{% endblock %}