mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Convert radios on link-service-to-org page (basic)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/radios.html" import radios %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/page-footer.html" import sticky_page_footer %}
|
||||
{% from "components/live-search.html" import live_search %}
|
||||
@@ -18,14 +17,14 @@
|
||||
back_link=url_for('.service_settings', service_id=current_service.id)
|
||||
) }}
|
||||
{{ live_search(
|
||||
target_selector='.multiple-choice',
|
||||
target_selector='.govuk-radios__item',
|
||||
show=True, form=search_form,
|
||||
label='Search by name',
|
||||
autofocus=True
|
||||
) }}
|
||||
{% call form_wrapper() %}
|
||||
{% if has_organisations %}
|
||||
{{ radios(form.organisations) }}
|
||||
{{ form.organisations }}
|
||||
{{ sticky_page_footer('Save') }}
|
||||
{% else %}
|
||||
<p class="hint"> No organisations </p>
|
||||
|
||||
Reference in New Issue
Block a user