mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-22 08:58:46 -04:00
Convert radios on set inbound page (basic)
This commit is contained in:
@@ -1916,7 +1916,7 @@ class ServiceInboundNumberForm(StripWhitespaceForm):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.inbound_number.choices = kwargs['inbound_number_choices']
|
||||
|
||||
inbound_number = RadioField(
|
||||
inbound_number = GovukRadiosField(
|
||||
"Select your inbound number",
|
||||
thing='an inbound number',
|
||||
)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/page-footer.html" import sticky_page_footer %}
|
||||
{% from "components/radios.html" import radios%}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
|
||||
{% block service_page_title %}
|
||||
@@ -19,9 +18,9 @@
|
||||
<p class="govuk-body"> No available inbound numbers </p>
|
||||
{% else %}
|
||||
{% call form_wrapper() %}
|
||||
{{ radios(form.inbound_number) }}
|
||||
{{ sticky_page_footer('Save') }}
|
||||
{% endcall %}
|
||||
{{ form.inbound_number }}
|
||||
{{ sticky_page_footer('Save') }}
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user