1 {% extends "base/base.html" %}
6 {% if form.has_errors %}
7 <p>{% trans "Your username and password didn't match. Please try again." %}</p>
10 {% if user.is_authenticated %}
11 <p>{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %}</p>
12 <p><a href="../logout/">{% trans "Logout" %}</a></p>
15 <form method="post" action=".">
17 <tr><td><label for="id_username">{% trans "Username" %}</label></td><td>{{ form.username }}</td></tr>
18 <tr><td><label for="id_password">{% trans "Password" %}</label></td><td>{{ form.password }}</td></tr>
21 <input type="submit" value="{% trans "Login" %}" />
22 <input type="hidden" name="next" value="{{ next }}" />