added a span to the add sandwich template
[~kgodey/maayanwich.git] / templates / sandwich.html
index d87265e..4c8dd77 100644 (file)
@@ -3,8 +3,10 @@
 {% block title %}Add a sandwich{% endblock %}
 {% block content %}
        <h1 class="pagetitle">Add a new sandwich</h1>
-       <form enctype="multipart/form-data" action="/sandwich/add/" method="post">
+       <span class="formspan">
+       <form enctype="multipart/form-data" action="{% url add_sandwich %}" method="post">
        {{ sform.as_p }}
        <input type="submit" value="Submit" />
        </form>
+       </span>
 {% endblock %}
\ No newline at end of file