templates/user/register.html
author anoop
Wed, 17 Feb 2010 17:46:16 +0530
changeset 40 43853e376bb8
parent 13 0fb64b24a1c9
permissions -rw-r--r--
deleted unwanted code to start using django-registration.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     1
{% extends 'base.html' %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     2
{% block content %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     3
<form action="/accounts/register/" method="post">
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     4
    {{ form.as_p }}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     5
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     6
{% if errors %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     7
    <p style="color: red;">
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     8
        Please correct the error{{ errors|pluralize }} below.
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
     9
        {% for i in errors %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    10
            <br>{{ i }}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    11
        {% endfor %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    12
    </p>
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    13
{% endif %}
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    14
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    15
<input type="submit" value="Submit" />
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    16
</form>
0fb64b24a1c9 added views, templates for register, login, logout user.
anoop
parents:
diff changeset
    17
{% endblock %}