Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/templates/login.html@8650
Line | |
---|
1 | {% block content %} |
---|
2 | |
---|
3 | {% if form.errors %} |
---|
4 | <p>Your username and password didn't match. Please try again.</p> |
---|
5 | {% endif %} |
---|
6 | |
---|
7 | <form method="post"> |
---|
8 | {% csrf_token %} |
---|
9 | <table> |
---|
10 | <tr> |
---|
11 | <td>{{ form.username.label_tag }}</td> |
---|
12 | <td>{{ form.username }}</td> |
---|
13 | </tr> |
---|
14 | <tr> |
---|
15 | <td>{{ form.password.label_tag }}</td> |
---|
16 | <td>{{ form.password }}</td> |
---|
17 | </tr> |
---|
18 | </table> |
---|
19 | |
---|
20 | <input type="submit" value="login" /> |
---|
21 | <input type="hidden" name="next" value="{{ next }}" /> |
---|
22 | </form> |
---|
23 | |
---|
24 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.