diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post_form.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index 3066ee76..276797b4 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> |
