pytask/templates/user/login.html
author nishanth
Sat, 30 Jan 2010 13:04:58 +0530
changeset 12 c823b42970a4
parent 6 94136f9a48bc
permissions -rw-r--r--
added events/task.py and templates/error.html

{% extends 'base.html' %}
{% block content %}
<form action="/accounts/login/" 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 %}