annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
1 {% extends "controls.djhtml" %}
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
2
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
3 {% block content %}
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
4
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
5 <div class="info">
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
6 <h3>
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
7 Registration details
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
8 </h3>
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
9 <div class="whitebox">
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
10 <p>
24
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
11 Please give us some basic information to set up your account.
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
12 Valid usernames consist of letters, numbers, and underscores.
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
13 </p>
24
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
14 {% if form.errors %}
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
15 <p class="error">
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
16 Please correct the errors below.
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
17 </p>
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
18 {% endif %}
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
19 <form action="." method="post">
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
20 {% csrf_token %}
24
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
21 <table>
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
22 {{form.as_table}}
2e7226e90157 Many fixes. See detailed description.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 23
diff changeset
23 </table>
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
24 <input class="button" type="submit" value="Submit" />
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
25 </form>
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
26 </div>
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
27 </div>
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
28
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
29 {% endblock %}