diff options
Diffstat (limited to 'templates/fileupload.html')
-rw-r--r-- | templates/fileupload.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/fileupload.html b/templates/fileupload.html new file mode 100644 index 0000000..d1db6ca --- /dev/null +++ b/templates/fileupload.html @@ -0,0 +1,18 @@ +<h2>Fileupload</h2>
+
+<ul>
+{% for fileuploaded in filesuploaded %}
+<li>UPLOADEDFILE: {{fileuploaded}}
+</li>
+{% endfor %}
+</ul>
+<p>MESSAGE: {{message}}
+</p>
+
+{% if not filesuploaded %}
+<form action="" method="POST">
+ <p>file to upload</p>
+ <p><input type="file" name="file1"/></p>
+ <p><input type="submit" name="submit" value="Submit" /></p>
+</form>
+{% endif %}
|