mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Use format_list_items in file_upload component
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
</label>
|
</label>
|
||||||
{{ field(**{
|
{{ field(**{
|
||||||
'class': 'file-upload-field',
|
'class': 'file-upload-field',
|
||||||
'accept': allowed_file_extensions
|
'accept': allowed_file_extensions|format_list_items('.{item}')|join(',')|e
|
||||||
}) }}
|
}) }}
|
||||||
<label class="file-upload-button" for="{{ field.name }}">
|
<label class="file-upload-button" for="{{ field.name }}">
|
||||||
{{ button_text }}
|
{{ button_text }}
|
||||||
|
|||||||
Reference in New Issue
Block a user