From c2075b6d716cb83798cb186e98bce122b77ee13a Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 30 Aug 2018 11:44:36 +0100 Subject: [PATCH] Make label for None branding_style read as 'GOV.UK' --- app/main/views/service_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/service_settings.py b/app/main/views/service_settings.py index c3046abbe..a6b3ad532 100644 --- a/app/main/views/service_settings.py +++ b/app/main/views/service_settings.py @@ -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