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>
|
|
|
|
<input type="submit" value="Login" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
2012-06-09 17:11:28 +02:00
|
|
|
</table>
|
|
|
|
<input type="hidden" name="next" value="/" />
|
|
|
|
</form>
|
|
|
|
|
2012-06-14 10:21:01 +02:00
|
|
|
<a href="{% url "registration.views.register" %}">Register</a>
|
|
|
|
<a href="{% url "django.contrib.auth.views.password_reset" %}">Forgot password</a>
|
|
|
|
|
2012-06-09 17:11:28 +02:00
|
|
|
{% endblock %}
|