basic file upload works
[phorkie.git] / data / templates / index.htm
index 31913bcf3285bacda85395addf5777638aa2c850..05c4c05a3bd68040dd2c370b9c0c350d1028b7c2 100644 (file)
@@ -2,7 +2,7 @@
 {% block title %}New paste{% endblock %}
 
 {% block content %}
-<form method="post" action="/">
+<form method="post" action="/" enctype="multipart/form-data">
  <div class="control-group well pastedata">
    <label for="description">Description</label>
    <input type="text" name="description" id="description" value="{{description}}"/>