pytask/templates/user/register.html
author anoop
Mon, 01 Feb 2010 17:30:30 +0530
changeset 22 943a35c14cf7
parent 6 94136f9a48bc
permissions -rw-r--r--
added browse users functionality, added user/browse.html, fixed view my profile template.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     1
{% extends 'base.html' %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     2
{% block content %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     3
<form action="/accounts/register/" method="post">
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     4
    {{ form.as_p }}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     5
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     6
{% if errors %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     7
    <p style="color: red;">
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     8
        Please correct the error{{ errors|pluralize }} below.
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
     9
        {% for i in errors %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    10
            <br>{{ i }}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    11
        {% endfor %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    12
    </p>
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    13
{% endif %}
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    14
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    15
<input type="submit" value="Submit" />
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    16
</form>
94136f9a48bc added login, logout, and register.
anoop
parents:
diff changeset
    17
{% endblock %}