Set accepted files for job spreadsheet upload

This commit is contained in:
Tom Byers
2020-12-16 14:48:10 +00:00
parent e9722256ea
commit b8f8d743d5
5 changed files with 19 additions and 1 deletions
@@ -137,6 +137,7 @@
{% if not request.args.from_test %}
{{ file_upload(
form.file,
allowed_file_extensions=allowed_spreadsheet_file_extensions,
action=url_for('.send_messages', service_id=current_service.id, template_id=template.id),
button_text='Upload your file again'
) }}
@@ -43,6 +43,7 @@
<div class="form-group">
{{ file_upload(
form.file,
allowed_file_extensions=allowed_spreadsheet_file_extensions,
action=url_for('.send_messages', service_id=current_service.id, template_id=template.id),
button_text='Upload your file again'
) }}
+1
View File
@@ -19,6 +19,7 @@
<div class="page-footer bottom-gutter">
{{file_upload(
form.file,
allowed_file_extensions=allowed_spreadsheet_file_extensions,
button_text='Choose a file'
)}}
</div>