pytask/templates/user/login.html
author anoop
Mon, 01 Feb 2010 17:30:30 +0530
changeset 22 943a35c14cf7
parent 6 94136f9a48bc
permissions -rw-r--r--
added browse users functionality, added user/browse.html, fixed view my profile template.

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