From 352cdb80fa0adc8c6911b8b979a864bef93bd897 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Tue, 22 Mar 2022 16:38:51 +0000 Subject: [PATCH] Remove remaining uses of ChooseBrandingForm This was missed in a previous commit. --- app/main/views/service_settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/main/views/service_settings.py b/app/main/views/service_settings.py index ecf0eb537..ec2121478 100644 --- a/app/main/views/service_settings.py +++ b/app/main/views/service_settings.py @@ -50,7 +50,6 @@ from app.main.forms import ( AdminSetEmailBrandingForm, AdminSetLetterBrandingForm, AdminSetOrganisationForm, - ChooseBrandingForm, ChooseEmailBrandingForm, ChooseLetterBrandingForm, EstimateUsageForm, @@ -91,7 +90,7 @@ def service_settings(service_id): return render_template( 'views/service-settings.html', service_permissions=PLATFORM_ADMIN_SERVICE_PERMISSIONS, - email_branding_options=ChooseBrandingForm(current_service, branding_type='email') + email_branding_options=ChooseEmailBrandingForm(current_service) ) @@ -1258,7 +1257,7 @@ def email_branding_something_else(service_id): return render_template( 'views/service-settings/branding/email-branding-something-else.html', form=form, - branding_options=ChooseBrandingForm(current_service, branding_type='email') + branding_options=ChooseEmailBrandingForm(current_service) )