comparison 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
comparison
equal deleted inserted replaced
23:d9658d30b814 24:2e7226e90157
6 <h3> 6 <h3>
7 Registration details 7 Registration details
8 </h3> 8 </h3>
9 <div class="whitebox"> 9 <div class="whitebox">
10 <p> 10 <p>
11 Please provide us some basic information to set up your account. 11 Please give us some basic information to set up your account.
12 Valid usernames consist of letters, numbers, and underscores.
12 </p> 13 </p>
14 {% if form.errors %}
15 <p class="error">
16 Please correct the errors below.
17 </p>
18 {% endif %}
13 <form action="." method="post"> 19 <form action="." method="post">
14 {% csrf_token %} 20 {% csrf_token %}
15 <p> 21 <table>
16 <label for="id_username">username: (letters, numbers, underscores) 22 {{form.as_table}}
17 </label> 23 </table>
18 <br />
19 <input id="id_username" type="text" class="required"
20 name="username" maxlength="30" />
21 </p>
22 <p>
23 <label for="id_email">email address:</label>
24 <br />
25 <input id="id_email" type="text" class="required" name="email"
26 maxlength="75" />
27 </p>
28 <p>
29 <label for="id_password1">password:</label>
30 <br />
31 <input id="id_password1" type="password" class="required"
32 name="password1" />
33 </p>
34 <p>
35 <label for="id_password2">password (again):</label>
36 <br />
37 <input id="id_password2" type="password" class="required"
38 name="password2" />
39 </p>
40 <input class="button" type="submit" value="Submit" /> 24 <input class="button" type="submit" value="Submit" />
41 </form> 25 </form>
42 </div> 26 </div>
43 </div> 27 </div>
44 28