view templates/registration/registration_form.html @ 24:2e7226e90157

Many fixes. See detailed description. - Style errors - Writer proper 404 and 500 templates - Make login page redirect back to page being viewed (still buggy?) - Provide a brief blurb about Agora - Use tables for registration and login forms (need to be styled) - Fix typos, grammatical errors. - Don't use .djhtml extension for some templates
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Mon, 28 Jun 2010 03:00:01 -0500
parents d9658d30b814
children e019ca8e14f6
line wrap: on
line source

{% extends "controls.djhtml" %}

{% block content %}

<div class="info">
  <h3>
    Registration details
  </h3>
  <div class="whitebox">
    <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>
  </div>
</div>

{% endblock %}