Made the CSS pretty (the CSS file hasn't been committed yet), plus added comment...
[~kgodey/maayanwich.git] / templates / ingredient.html
index 6d8b912..517e0b6 100644 (file)
@@ -1,11 +1,10 @@
-<html>
-       <head>
-               <title>Add an ingredient!</title></head>
-       <body>
-               <h1>Add a new ingredient</h1>
-               <form enctype="multipart/form-data" action="/addingredient/" method="post">
-               {{ iform.as_p }}
-               <input type="submit" value="Submit" />
-               </form>
-       </body>
-</html>
\ No newline at end of file
+{% extends "base.html" %}
+
+{% block title %}Add an ingredient{% endblock %}
+{% block content %}
+       <h1 class="pagetitle">Add a new ingredient</h1>
+       <form enctype="multipart/form-data" action="{% url add_ingredient %}" method="post" class="cssform">
+       {{ iform.as_p }}
+       <input type="submit" value="Submit" />
+       </form>
+{% endblock %}
\ No newline at end of file