git.ithinksw.org
/
~kgodey
/
maayanwich.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
URLs all read from urls.py file now, no hardcoded URLs
[~kgodey/maayanwich.git]
/
templates
/
sandwich.html
diff --git
a/templates/sandwich.html
b/templates/sandwich.html
index
d87265e
..
09d2a9a
100644
(file)
--- a/
templates/sandwich.html
+++ b/
templates/sandwich.html
@@
-3,7
+3,7
@@
{% block title %}Add a sandwich{% endblock %}
{% block content %}
<h1 class="pagetitle">Add a new sandwich</h1>
{% 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">
+ <form enctype="multipart/form-data" action="
{% url add_sandwich %}
" method="post">
{{ sform.as_p }}
<input type="submit" value="Submit" />
</form>
{{ sform.as_p }}
<input type="submit" value="Submit" />
</form>