mirror of https://gitlab.com/bashrc2/epicyon
Sequence
parent
456e8ed6da
commit
8d682cec42
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue