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