mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
Make label for None branding_style read as 'GOV.UK'
This commit is contained in:
@@ -874,7 +874,7 @@ def service_set_email_branding(service_id):
|
||||
# dynamically create org choices, including the null option
|
||||
email_brandings = sorted(get_branding_as_value_and_label(email_branding),
|
||||
key=lambda tup: tup[1].lower())
|
||||
form.branding_style.choices = [('None', 'None')] + email_brandings
|
||||
form.branding_style.choices = [('None', 'GOV.UK')] + email_brandings
|
||||
|
||||
if form.validate_on_submit():
|
||||
branding_style = None if form.branding_style.data == 'None' else form.branding_style.data
|
||||
|
||||
Reference in New Issue
Block a user