templates/registration/login.html
author Nishanth Amuluru <nishanth@fossee.in>
Sat, 08 Jan 2011 01:54:50 +0530
changeset 305 d18086013eac
parent 264 8c2376baee94
permissions -rw-r--r--
Added link for new_user signup
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
305
d18086013eac Added link for new_user signup
Nishanth Amuluru <nishanth@fossee.in>
parents: 264
diff changeset
     8
<a href="/accounts/register">New User Sign up</a>
262
d152c2211a3a Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
<a href="/accounts/password/reset">Forgot password?</a>
d152c2211a3a Added templates for login and logout
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
{% endblock %}