templates/user/login.html
changeset 13 0fb64b24a1c9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/user/login.html	Thu Feb 04 22:14:34 2010 +0530
@@ -0,0 +1,17 @@
+{% extends 'base.html' %}
+{% block content %}
+<form action="/accounts/login/" method="post">
+    {{ form.as_p }}
+
+{% if errors %}
+    <p style="color: red;">
+        Please correct the error{{ errors|pluralize }} below.
+        {% for i in errors %}
+            <br>{{ i }}
+        {% endfor %}
+    </p>
+{% endif %}
+
+<input type="submit" value="Submit" />
+</form>
+{% endblock %}