forked from expo/troggle
19 lines
369 B
HTML
19 lines
369 B
HTML
<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 %}
|