Modified templates a little for sandwich by user and sandwich by month (to have more...
[~kgodey/maayanwich.git] / templates / login.html
index 367b112..6e8371d 100644 (file)
@@ -1,11 +1,11 @@
-<html>
-       <head>
-               <title>Login</title></head>
-       <body>
-               <h1>Login</h1>
-               <form enctype="multipart/form-data" action="/login/" method="post">
-               {{ aform.as_p }}
-               <input type="submit" value="Submit" />
-               </form>
-       </body>
-</html>
\ No newline at end of file
+{% extends "base.html" %}
+
+{% block title %}Login{% endblock %}
+
+{% block content %}
+       <h1 class="pagetitle">Login</h1>
+       <form enctype="multipart/form-data" action="{% url login %}?{{ request.META.QUERY_STRING }}" method="post" class="cssform">
+       {{ aform.as_p }}
+       <input type="submit" value="Submit" />
+       </form>
+{% endblock %}
\ No newline at end of file