Default the brand_type for new email brands

This commit is contained in:
Rebecca Law
2018-08-24 13:11:40 +01:00
parent 2b08b84c9e
commit be050657f6
2 changed files with 3 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ def update_email_branding(branding_id, logo=None):
@login_required
@user_is_platform_admin
def create_email_branding(logo=None):
form = ServiceUpdateEmailBranding()
form = ServiceUpdateEmailBranding(brand_type='govuk')
if form.validate_on_submit():
if form.file.data: