Files
notifications-admin/app/templates/views/organisations/add-nhs-local-organisation.html
Chris Hill-Scott 4df99bd27f Don’t allow paragraphs without class attribute
All paragraphs should have class="govuk-body", or be otherwise
custom-styled. This commit adds some extra checks to our test fixture
that looks for paragraphs that don’t have any styling. Our test coverage
is pretty good, so this should check almost all pages, and prevent
regressions.

I’ve done this in such a way that it can be extended for other elements
(e.g. links) in the future.
2020-05-29 17:11:01 +01:00

27 lines
1010 B
HTML

{% extends "withnav_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import sticky_page_footer %}
{% from "components/textbox.html" import textbox %}
{% from "components/radios.html" import radios %}
{% from "components/live-search.html" import live_search %}
{% from "components/form.html" import form_wrapper %}
{% block per_page_title %}
Accept our data sharing and financial agreement
{% endblock %}
{% block maincolumn_content %}
{{ page_header(
'Accept our data sharing and financial agreement',
back_link=url_for('main.request_to_go_live', service_id=current_service.id)
) }}
{% call form_wrapper() %}
<p class="govuk-body">
{{ form.organisations.label.text }}
</p>
{{ live_search(target_selector='.multiple-choice', show=True, form=search_form, label='Search by name') }}
{{ radios(form.organisations, hide_legend=True) }}
{{ sticky_page_footer('Continue') }}
{% endcall %}
{% endblock %}