mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 10:48:26 -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.
29 lines
927 B
HTML
29 lines
927 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/radios.html" import radios%}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% block service_page_title %}
|
|
Set inbound number
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
{{ page_header(
|
|
'Set inbound number',
|
|
back_link=url_for('.service_settings', service_id=current_service.id)
|
|
) }}
|
|
{% if current_service.has_inbound_number %}
|
|
<p class="govuk-body"> This service already has an inbound number </p>
|
|
{% elif no_available_numbers %}
|
|
<p class="govuk-body"> No available inbound numbers </p>
|
|
{% else %}
|
|
{% call form_wrapper() %}
|
|
{{ radios(form.inbound_number) }}
|
|
{{ page_footer('Save') }}
|
|
{% endcall %}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|