pytask/templates/user/login.html
author nishanth
Fri, 29 Jan 2010 23:34:19 +0530
changeset 10 c2001db39937
parent 6 94136f9a48bc
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/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 %}