summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index f9291f49..92af3fc7 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -126,7 +126,9 @@
{% trans %}File{% endtrans %}
</th>
<td>
- <input type="file" name="file" id="upload_file">
+ {% for counter in 1..config.max_images %}
+ <input type="file" name="file{{ counter }}" id="upload_file{{ counter }}" style="display:block">
+ {% endfor %}
<script type="text/javascript">if (typeof init_file_selector !== 'undefined') init_file_selector({{ config.max_images }});</script>