login.html 435 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}
{% load i18n %}

{% block title %}Login{% endblock %}

{% block content %}
<form action="{% url django.contrib.auth.views.login %}" method="post">{% csrf_token %}
{{form.as_p}}
<input type="hidden" name="next" value="{{next}}" />
<input type="submit" name="login" value="Login" />
</form>

<p>[<a href="{% url django.contrib.auth.views.password_reset %}">{% trans "Password reset" %}</a>]</p>

{% endblock %}