diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2023-02-01 07:33:01 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2023-02-01 07:33:01 +1000 |
| commit | a01eec0b8e263943dc9bd681bf0cb4c05b0c0931 (patch) | |
| tree | 03872259925d910201a0891bffba708d4b90b7b8 | |
| parent | fa155078baeaf71630ca76e4a95ef6fdc42e2cb9 (diff) | |
Fix post form missing multiple image input buttons
| -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 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> |
