Made the CSS pretty (the CSS file hasn't been committed yet), plus added comment...
[~kgodey/maayanwich.git] / templates / ingredient.html
index 23be3a0..517e0b6 100644 (file)
@@ -3,7 +3,7 @@
 {% block title %}Add an ingredient{% endblock %}
 {% block content %}
        <h1 class="pagetitle">Add a new ingredient</h1>
 {% block title %}Add an ingredient{% endblock %}
 {% block content %}
        <h1 class="pagetitle">Add a new ingredient</h1>
-       <form enctype="multipart/form-data" action="/sandwich/addingredient/" method="post">
+       <form enctype="multipart/form-data" action="{% url add_ingredient %}" method="post" class="cssform">
        {{ iform.as_p }}
        <input type="submit" value="Submit" />
        </form>
        {{ iform.as_p }}
        <input type="submit" value="Submit" />
        </form>