diff --git a/app/templates/components/file-upload.html b/app/templates/components/file-upload.html index 1908f1e48..4db7d00cc 100644 --- a/app/templates/components/file-upload.html +++ b/app/templates/components/file-upload.html @@ -2,6 +2,7 @@ {% macro file_upload( field, + allowed_file_extensions, action=None, button_text="Choose file", alternate_link=None, @@ -25,7 +26,8 @@ {% endif %} {{ field(**{ - 'class': 'file-upload-field' + 'class': 'file-upload-field', + 'accept': allowed_file_extensions }) }}