| author | anoop |
| Mon, 01 Feb 2010 17:30:30 +0530 | |
| changeset 22 | 943a35c14cf7 |
| parent 6 | 94136f9a48bc |
| permissions | -rw-r--r-- |
| 6 | 1 |
{% extends 'base.html' %}
|
2 |
{% block content %}
|
|
3 |
<form action="/accounts/login/" method="post"> |
|
4 |
{{ form.as_p }}
|
|
5 |
||
6 |
{% if errors %}
|
|
7 |
<p style="color: red;"> |
|
8 |
Please correct the error{{ errors|pluralize }} below.
|
|
9 |
{% for i in errors %}
|
|
10 |
<br>{{ i }}
|
|
11 |
{% endfor %}
|
|
12 |
</p> |
|
13 |
{% endif %}
|
|
14 |
||
15 |
<input type="submit" value="Submit" /> |
|
16 |
</form> |
|
17 |
{% endblock %}
|