mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 23:08:07 -04:00
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.
27 lines
1010 B
HTML
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 %}
|