mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-20 21:21:54 -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.
37 lines
1.0 KiB
HTML
37 lines
1.0 KiB
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/form.html" import form_wrapper %}
|
|
|
|
{% block service_page_title %}
|
|
Change your service name
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'Change your service name',
|
|
back_link=url_for('main.service_settings', service_id=current_service.id)
|
|
) }}
|
|
|
|
<div class="form-group">
|
|
{% if current_service.prefix_sms %}
|
|
<p class="govuk-body">Users will see your service name:</p>
|
|
<ul class="list-bullet">
|
|
<li>at the start of every text message</li>
|
|
<li>as your email sender name</li>
|
|
</ul>
|
|
{% else %}
|
|
<p class="govuk-body">Users will see your service name as your email sender name.</p>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% call form_wrapper() %}
|
|
{{ textbox(form.name) }}
|
|
{{ page_footer('Save') }}
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|