annotate templates/registration/registration_form.html @ 90:eb3371142f4f

Remove inheriting from whitebox.djhtml for template files
author dellsystem <ilostwaldo@gmail.com>
date Fri, 24 Aug 2012 23:48:14 -0400
parents e019ca8e14f6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
eb3371142f4f Remove inheriting from whitebox.djhtml for template files
dellsystem <ilostwaldo@gmail.com>
parents: 27
diff changeset
1 {% extends "base.djhtml" %}
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
2
90
eb3371142f4f Remove inheriting from whitebox.djhtml for template files
dellsystem <ilostwaldo@gmail.com>
parents: 27
diff changeset
3 {% block title %}
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
4 Registration details
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
5 {% endblock %}
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
6
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
7
90
eb3371142f4f Remove inheriting from whitebox.djhtml for template files
dellsystem <ilostwaldo@gmail.com>
parents: 27
diff changeset
8 {% block content %}
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
9 <p>
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
10 Please give us some basic information to set up your account.
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
11 Valid usernames consist of letters, numbers, and underscores.
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
12 </p>
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
13
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
14 {% if form.errors %}
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
15 <p class="error">
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
16 Please correct the errors below.
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
17 </p>
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
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
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
20 <form action="." method="post">
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
21 {% csrf_token %}
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
22 <table>
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
23 {{form.as_table}}
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
24 </table>
90
eb3371142f4f Remove inheriting from whitebox.djhtml for template files
dellsystem <ilostwaldo@gmail.com>
parents: 27
diff changeset
25 <button class="button" type="submit">Submit</button>
27
e019ca8e14f6 Clean up templates
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 24
diff changeset
26 </form>
23
d9658d30b814 Implement initial user registration and authentication. Still way buggy.
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
diff changeset
27 {% endblock %}