Fixed a few w3c compliancy errors
[aur2.git] / archlinux / templates / registration / login.html
blobf3725eb0e503f3cf7f095539c042f3b04aaa67f9
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% block content %}
5 <div class="greybox">
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>
9 {% endif %}
11 <form method="post" action=".">
12 <table>
13 <tr>
14 <td><label for="id_username">Username:</label></td>
15 <td>{{ form.username }}</td>
16 </tr>
17 <tr>
18 <td><label for="id_password">Password:</label></td>
19 <td>{{ form.password }}</td></tr>
20 <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" />
24 </td>
25 </tr>
26 </table>
27 </form>
28 </div>
30 {% endblock %}