pytask/templates/user/register.html
author nishanth
Sat, 30 Jan 2010 13:03:09 +0530
changeset 11 d28fcc644fbb
parent 6 94136f9a48bc
permissions -rw-r--r--
implemented create task view which needed task.py in events. added a method show_msg to views/user.py and used it in logoff view.

{% 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 %}