mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
This lets us write nice interface copy like ‘Choose a local authority from the local authorities library’.
26 lines
925 B
HTML
26 lines
925 B
HTML
{% from "components/page-header.html" import page_header %}
|
|
{% 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),
|
|
)}}
|
|
|
|
{{ live_search(target_selector='.file-list-item', show=show_search_form, form=search_form, label='Search by name') }}
|
|
|
|
{% for area in library|sort %}
|
|
<div class="file-list-item">
|
|
<a class="file-list-filename-large govuk-link govuk-link--no-visited-state" href="{{ url_for('.choose_broadcast_sub_area', service_id=current_service.id, broadcast_message_id=broadcast_message.id, library_slug=library.id, area_slug=area.id) }}">{{ area.name }}</a>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|