source: remit/remit_templates/registration/login.html @ 680b2bd

client
Last change on this file since 680b2bd was 1ba734f, checked in by Alex Dehnert <adehnert@…>, 14 years ago

CSRFize login screen

  • Property mode set to 100644
File size: 620 bytes
Line 
1{% extends "base.html" %}
2
3{% block title %}Log in to Remit{% endblock %}
4
5{% block content %}
6
7<h2>Log in to Remit</h2>
8
9{% if form.errors %}
10<p>Your username and password didn't match. Please try again.</p>
11{% endif %}
12
13<form method="post" action="{% url django.contrib.auth.views.login %}">
14{% csrf_token %}
15<table>
16<tr>
17    <td>{{ form.username.label_tag }}</td>
18    <td>{{ form.username }}</td>
19</tr>
20<tr>
21    <td>{{ form.password.label_tag }}</td>
22    <td>{{ form.password }}</td>
23</tr>
24</table>
25
26<input type="submit" value="login" />
27<input type="hidden" name="next" value="{{ next }}" />
28</form>
29
30{% endblock %}
Note: See TracBrowser for help on using the repository browser.