mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Merge pull request #2260 from alphagov/remove-govuk-from-brand-type
Remove GOV.UK as option when creating a branding
This commit is contained in:
@@ -727,7 +727,6 @@ class ServiceUpdateEmailBranding(StripWhitespaceForm):
|
||||
brand_type = RadioField(
|
||||
"Brand type",
|
||||
choices=[
|
||||
('govuk', 'GOV.UK only'),
|
||||
('both', 'GOV.UK and branding'),
|
||||
('org', 'Branding only'),
|
||||
('org_banner', 'Branding banner'),
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user