mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 01:49:15 -04:00
If a library has groups, we should show a link instead of selecting the group directly. Then we can give the user the choice of selecting the whole of that group, or specific areas within the group. For now the only libraries we have with groups are local authorities, which group electoral wards.
34 lines
902 B
HTML
34 lines
902 B
HTML
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import sticky_page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/live-search.html" import live_search %}
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
{% block service_page_title %}
|
|
{{ page_title }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
page_title,
|
|
back_link=url_for('.choose_broadcast_library', service_id=current_service.id, broadcast_message_id=broadcast_message.id),
|
|
)}}
|
|
|
|
{% call form_wrapper() %}
|
|
|
|
<div class="form-group govuk-!-margin-bottom-4">
|
|
{{ form.select_all }}
|
|
</div>
|
|
|
|
{{ live_search(target_selector='.multiple-choice', show=show_search_form, form=search_form, label='Or by electoral ward') }}
|
|
|
|
{{ form.areas }}
|
|
|
|
{{ sticky_page_footer('Add to broadcast') }}
|
|
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|