-<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 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