aboutsummaryrefslogtreecommitdiff
path: root/templates/registration/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/registration/login.html')
-rw-r--r--templates/registration/login.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html
new file mode 100644
index 0000000..37893a9
--- /dev/null
+++ b/templates/registration/login.html
@@ -0,0 +1,27 @@
1{% extends "base.html" %}
2
3{% block content %}
4
5{% if form.errors %}
6<p>Your username and password didn't match. Please try again.</p>
7{% endif %}
8
9<h1>Login</h1>
10<form method="post" action="{% url 'auth:login' %}">
11 {% csrf_token %}
12 <table>
13 <tr>
14 <td>{{ form.username.label_tag }}</td>
15 <td>{{ form.username }}</td>
16 </tr>
17 <tr>
18 <td>{{ form.password.label_tag }}</td>
19 <td>{{ form.password }}</td>
20 </tr>
21 </table>
22
23 <input type="submit" value="login" />
24 <input type="hidden" name="next" value="{{ next }}" />
25</form>
26
27{% endblock %}