initial git commit
[django_unres.git] / django_simple / authentication / templates / registration / login.html
1 {% extends "base.html" %}
2
3 {% block content %}
4
5 {% if form.errors %}
6         <p>Invalid credentials</p>
7 {% endif %}
8
9 <form method="post" action="{% url 'login' %}">
10 {% csrf_token %}
11 <table>
12 <tr>
13     <td>{{ form.username.label_tag }}</td>
14     <td>{{ form.username }}</td>
15 </tr>
16 <tr>
17     <td>{{ form.password.label_tag }}</td>
18     <td>{{ form.password }}</td>
19 </tr>
20 </table>
21
22 <input type="submit" value="login" />
23 <input type="hidden" name="next" value="{{ next }}" />
24 </form>
25
26 {% endblock %}