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
Sandwich form actually adds things to the database now!
[~kgodey/maayanwich.git]
/
templates
/
sandwich.html
diff --git
a/templates/sandwich.html
b/templates/sandwich.html
index
3ae0f3e
..
32a85ed
100644
(file)
--- a/
templates/sandwich.html
+++ b/
templates/sandwich.html
@@
-3,8
+3,8
@@
<title>Add a sandwich!</title></head>
<body>
<h1>Add a new sandwich</h1>
<title>Add a sandwich!</title></head>
<body>
<h1>Add a new sandwich</h1>
- <form action="/addsandwich/" method="post">
- {{ form.as_p }}
+ <form
enctype="multipart/form-data"
action="/addsandwich/" method="post">
+ {{
s
form.as_p }}
<input type="submit" value="Submit" />
</form>
</body>
<input type="submit" value="Submit" />
</form>
</body>