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 .
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/login/" 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 %}