mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Validate name field on ServiceUpdateEmailBranding form
This introduces a validator to validate that the name field is not empty on the ServiceUpdateEmailBranding form, but only if the form details are being submitted. If a file is being uploaded, the name is allowed to be empty.
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
{{ radios(form.brand_type) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
button_name='operation',
|
||||
button_value='email-branding-details',
|
||||
back_link=url_for('.email_branding'),
|
||||
back_link_text='Back to email branding selection',
|
||||
) }}
|
||||
|
||||
Reference in New Issue
Block a user