2012-06-09 17:11:28 +02:00
|
|
|
{% extends "registration/_registration_base.html" %}
|
|
|
|
{% load url from future %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if form.errors %}
|
|
|
|
<p>Your username and password didn't match. Please try again.</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<table>
|
|
|
|
<tr>
|
2012-06-14 10:21:01 +02:00
|
|
|
<th>{{ form.username.label_tag }}</th>
|
2012-06-09 17:11:28 +02:00
|
|
|
<td>{{ form.username }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-06-14 10:21:01 +02:00
|
|
|
<th>{{ form.password.label_tag }}</th>
|
2012-06-09 17:11:28 +02:00
|
|
|
<td>{{ form.password }}</td>
|
|
|
|
</tr>
|
2012-06-14 10:21:01 +02:00
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td>
|
2012-06-29 14:13:25 +02:00
|
|
|
<input class="btn pull-right" type="submit" value="Login" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a class="pull-right" href="{% url "django.contrib.auth.views.password_reset" %}">Forgot password</a>
|
2012-06-14 10:21:01 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
2012-06-09 17:11:28 +02:00
|
|
|
</table>
|
2012-07-14 13:56:21 +02:00
|
|
|
<input type="hidden" name="next" value="{% url "accounts_index" %}" />
|
2012-06-09 17:11:28 +02:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|