author | Nishanth Amuluru <nishanth@fossee.in> |
Fri, 07 Jan 2011 13:37:38 +0530 | |
changeset 291 | 5daf523e20b4 |
parent 264 | 8c2376baee94 |
child 305 | d18086013eac |
permissions | -rw-r--r-- |
262
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
1 |
{% extends 'base.html' %} |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
2 |
{% block content %} |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
<form action="/accounts/login/" method="post"> |
264
8c2376baee94
Added csrf_token and included the urls
Nishanth Amuluru <nishanth@fossee.in>
parents:
262
diff
changeset
|
4 |
{% csrf_token %} |
262
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
5 |
{{ form.as_p }} |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
<input type="submit" value="Login" /> |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
</form> |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
<a href="/accounts/password/reset">Forgot password?</a> |
d152c2211a3a
Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
{% endblock %} |