pytask/templates/user/login.html
author anoop
Mon, 01 Feb 2010 14:14:04 +0530
changeset 17 9ca9f98af0eb
parent 6 94136f9a48bc
permissions -rw-r--r--
added files edit_profile.html and my_profile.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 %}