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