<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">
+ {{ sform.as_p }}
<input type="submit" value="Submit" />
</form>
</body>