URLs all read from urls.py file now, no hardcoded URLs
[~kgodey/maayanwich.git] / templates / login.html
index 367b112..aba342a 100644 (file)
@@ -1,11 +1,9 @@
-<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 %}" method="post">
+       {{ aform.as_p }}
+       <input type="submit" value="Submit" />
+       </form>
+{% endblock %}
\ No newline at end of file