templates/user/register.html
author nishanth
Thu, 04 Feb 2010 22:21:44 +0530
changeset 17 aa45fec40e7e
parent 13 0fb64b24a1c9
permissions -rw-r--r--
renamed users.py to user.py and tasks to task in views folder and updated urls.py accordingly .

{% extends 'base.html' %}
{% block content %}
<form action="/accounts/register/" method="post">
    {{ form.as_p }}

{% if errors %}
    <p style="color: red;">
        Please correct the error{{ errors|pluralize }} below.
        {% for i in errors %}
            <br>{{ i }}
        {% endfor %}
    </p>
{% endif %}

<input type="submit" value="Submit" />
</form>
{% endblock %}