mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-09 12:52:56 -04:00
Update branding request page
It was getting the brand_type from the service model. This changes the controller to get it from the new email_branding model instead.
This commit is contained in:
@@ -971,8 +971,11 @@ def link_service_to_organisation(service_id):
|
||||
@user_has_permissions('manage_service')
|
||||
def branding_request(service_id):
|
||||
|
||||
email_branding = email_branding_client.get_email_branding(
|
||||
current_service.email_branding)['email_branding']
|
||||
|
||||
form = BrandingOptionsEmail(
|
||||
options=current_service.branding
|
||||
options=email_branding['brand_type']
|
||||
)
|
||||
|
||||
if form.validate_on_submit():
|
||||
|
||||
Reference in New Issue
Block a user