rename branding to email_branding

to help transition to having letter branding as well
This commit is contained in:
Leo Hemsted
2019-02-01 16:31:34 +00:00
parent b81704ab69
commit 0e20ca44a3
2 changed files with 9 additions and 9 deletions

View File

@@ -45,7 +45,7 @@ from app.main.forms import (
ServiceLetterContactBlockForm,
ServicePreviewBranding,
ServiceReplyToEmailForm,
ServiceSetBranding,
ServiceSetEmailBranding,
ServiceSmsSenderForm,
ServiceSwitchChannelForm,
SMSPrefixForm,
@@ -759,9 +759,9 @@ def set_free_sms_allowance(service_id):
def service_set_email_branding(service_id):
email_branding = email_branding_client.get_all_email_branding()
form = ServiceSetBranding(
all_email_brandings=get_branding_as_value_and_label(email_branding),
current_email_branding=current_service.email_branding_id,
form = ServiceSetEmailBranding(
all_branding_options=get_branding_as_value_and_label(email_branding),
current_branding=current_service.email_branding_id,
)
if form.validate_on_submit():