mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-18 07:43:11 -04:00
Convert radios on set email branding page
Changes SetEmailBranding.branding_style to GovukRadiosFieldWithNoneOption.
This commit is contained in:
@@ -1729,7 +1729,7 @@ class ServiceSwitchChannelForm(ServiceOnOffSettingForm):
|
||||
|
||||
class SetEmailBranding(StripWhitespaceForm):
|
||||
|
||||
branding_style = RadioFieldWithNoneOption(
|
||||
branding_style = GovukRadiosFieldWithNoneOption(
|
||||
'Branding style',
|
||||
thing='a branding style',
|
||||
)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{% extends "org_template.html" %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/live-search.html" import live_search %}
|
||||
@@ -31,7 +30,7 @@
|
||||
label='Search branding styles by name',
|
||||
autofocus=True
|
||||
) }}
|
||||
{{ radios(form.branding_style) }}
|
||||
{{ form.branding_style }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
|
||||
Reference in New Issue
Block a user