Fixed URLs of one-sandwich views. Fixed adding sandwiches.
[~kgodey/maayanwich.git] / templates / ingredient.html
index 04f61bf..23be3a0 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="/addingredient/" method="post">
+       <form enctype="multipart/form-data" action="/sandwich/addingredient/" method="post">
        {{ iform.as_p }}
        <input type="submit" value="Submit" />
        </form>
        {{ iform.as_p }}
        <input type="submit" value="Submit" />
        </form>