mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Set accepted files for branding upload
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<p class="govuk-body">
|
||||
Logos should be PNG files, 108px high
|
||||
</p>
|
||||
{{ file_upload(form.file, button_text='{} logo'.format('Update' if email_branding else 'Upload')) }}
|
||||
{{ file_upload(form.file, allowed_file_extensions='.png', button_text='{} logo'.format('Update' if email_branding else 'Upload')) }}
|
||||
{% call form_wrapper() %}
|
||||
<div class="form-group">
|
||||
<div style='margin-top:15px;'>{{form.name}}</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<p class="govuk-body">
|
||||
Logos should be SVG files, cropped to artwork bounds and with all fonts outlined.
|
||||
</p>
|
||||
{{ file_upload(file_upload_form.file, button_text='{} logo'.format('Update' if is_update else 'Upload')) }}
|
||||
{{ file_upload(file_upload_form.file, allowed_file_extensions='.svg', button_text='{} logo'.format('Update' if is_update else 'Upload')) }}
|
||||
{% call form_wrapper() %}
|
||||
<div class="form-group">
|
||||
{{ letter_branding_details_form.name(param_extensions={
|
||||
|
||||
Reference in New Issue
Block a user