1 {% extends
"base.html" %}
6 <h2 class=
"title">{% trans
"Login form" %}
</h2>
7 {% if form.has_errors %}
8 <p class=
"error">{% trans
"Your username and password didn't match. Please try again." %}
</p>
11 <form method=
"post" action=
".">
14 <td><label for=
"id_username">Username:
</label></td>
15 <td>{{ form.username }}
</td>
18 <td><label for=
"id_password">Password:
</label></td>
19 <td>{{ form.password }}
</td></tr>
21 <td colspan=
"2" align=
"right">
22 <input type=
"hidden" name=
"next" value=
"{% if next %}{{ next }}{% else %}{% url account.views.profile %}{% endif %}" />
23 <input type=
"submit" value=
"Login" />