author | Nishanth Amuluru <nishanth@fossee.in> |
Fri, 07 Jan 2011 13:18:09 +0530 | |
changeset 50 | 869a9ab7e2df |
parent 26 | 8c2376baee94 |
child 67 | d18086013eac |
permissions | -rw-r--r-- |
24
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"> |
26
8c2376baee94
Added csrf_token and included the urls
Nishanth Amuluru <nishanth@fossee.in>
parents:
24
diff
changeset
|
4 |
{% csrf_token %} |
24
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 %} |