Fixed URLs of one-sandwich views. Fixed adding sandwiches.
[~kgodey/maayanwich.git] / templates / sandwich.html
index 1e8e621..d87265e 100644 (file)
@@ -3,7 +3,7 @@
 {% block title %}Add a sandwich{% endblock %}
 {% block content %}
        <h1 class="pagetitle">Add a new sandwich</h1>
-       <form enctype="multipart/form-data" action="/addsandwich/" method="post">
+       <form enctype="multipart/form-data" action="/sandwich/add/" method="post">
        {{ sform.as_p }}
        <input type="submit" value="Submit" />
        </form>