euscan-ng/euscanwww/djeuscan/templates/registration/login.html
volpino 11c8422c9b euscanwww: Reset password
Signed-off-by: volpino <fox91@anche.no>
2012-06-14 10:21:01 +02:00

36 lines
905 B
HTML

{% 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>
<th>{{ form.username.label_tag }}</th>
<td>{{ form.username }}</td>
</tr>
<tr>
<th>{{ form.password.label_tag }}</th>
<td>{{ form.password }}</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Login" />
</td>
</tr>
</table>
<input type="hidden" name="next" value="/" />
</form>
<a href="{% url "registration.views.register" %}">Register</a>
<a href="{% url "django.contrib.auth.views.password_reset" %}">Forgot password</a>
{% endblock %}