mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-05 22:10:44 -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.
30 lines
828 B
HTML
30 lines
828 B
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
{% from "components/page-header.html" import page_header %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/radios.html" import radios %}
|
||
|
||
{% block service_page_title %}
|
||
Send emails
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="govuk-grid-row">
|
||
<div class="govuk-grid-column-five-sixths">
|
||
{{ page_header(
|
||
'Send emails',
|
||
back_link=url_for('main.service_settings', service_id=current_service.id)
|
||
) }}
|
||
<p class="govuk-body">
|
||
It’s free to send emails through GOV.UK Notify.
|
||
</p>
|
||
{% call form_wrapper() %}
|
||
{{ radios(form.enabled) }}
|
||
{{ page_footer('Save') }}
|
||
{% endcall %}
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|