1 {% extends
"base_generic.html" %}
6 <p>Your username and password didn't match. Please try again.
</p>
10 {% if user.is_authenticated %}
11 <p>Your account doesn't have access to this page. To proceed,
12 please login with an account that has access.
</p>
14 <p>Please login to see this page.
</p>
18 <form method=
"post" action=
"{% url 'login' %}">
22 <td>{{ form.username.label_tag }}
</td>
23 <td>{{ form.username }}
</td>
26 <td>{{ form.password.label_tag }}
</td>
27 <td>{{ form.password }}
</td>
31 <input type=
"submit" value=
"login" />
32 <input type=
"hidden" name=
"next" value=
"{{ next }}" />
36 {# Assumes you setup the password_reset view in your URLconf #}
37 <p><a href=
"{% url 'password_reset' %}">Lost password?
</a></p>