Remove GOV.UK as option when creating a branding

It doesn’t make sense to create a brand which doesn’t get shown.

This will make it safe to remove this option from the database.
This commit is contained in:
Chris Hill-Scott
2018-08-29 12:32:11 +01:00
parent 6a20deba87
commit 278f7e534c
3 changed files with 5 additions and 6 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(brand_type='govuk')
form = ServiceUpdateEmailBranding(brand_type='org')
if form.validate_on_submit():
if form.file.data: