main
Bob Mottram 2022-04-15 14:27:25 +01:00
parent 456e8ed6da
commit 8d682cec42
1 changed files with 2 additions and 3 deletions

View File

@ -368,9 +368,6 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
new_post_image_section = \
begin_edit_section(translate['Attach an image, video or audio file'])
new_post_image_section += \
edit_text_field(translate['Image description'], 'imageDescription', '')
new_post_image_section += \
' <input type="file" id="attachpic" name="attachpic"'
formats_string = get_media_formats()
@ -378,6 +375,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
formats_string = formats_string.replace(', .svg', '').replace('.svg, ', '')
new_post_image_section += \
' accept="' + formats_string + '">\n'
new_post_image_section += \
edit_text_field(translate['Image description'], 'imageDescription', '')
new_post_image_section += end_edit_section()
scope_icon = 'scope_public.png'