mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-15 02:39:36 -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.
35 lines
882 B
HTML
35 lines
882 B
HTML
{% extends "withoutnav_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/form.html" import form_wrapper %}
|
||
|
||
{% block per_page_title %}
|
||
Change your {{ thing }}
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{{ page_header(
|
||
'Change your {}'.format(thing),
|
||
back_link=url_for('.user_profile')
|
||
) }}
|
||
|
||
<div class="govuk-grid-row">
|
||
<div class="govuk-grid-column-three-quarters">
|
||
<p class="govuk-body">
|
||
We’ve sent a security code to your new {{ thing }}.
|
||
</p>
|
||
{% call form_wrapper() %}
|
||
{{ textbox(
|
||
form_field,
|
||
width='5em',
|
||
autofocus=True
|
||
) }}
|
||
{{ page_footer('Confirm') }}
|
||
{% endcall %}
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|