mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 22:28:25 -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.
43 lines
1.2 KiB
HTML
43 lines
1.2 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 %}
|
||
Reply-to email address
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{{ page_header(
|
||
'Reply-to email address',
|
||
back_link=url_for('.service_settings', service_id=current_service.id)
|
||
) }}
|
||
|
||
<p class="govuk-body">
|
||
Your emails will be sent from
|
||
{{ current_service.email_from }}@notifications.service.gov.uk.
|
||
This is so they have the best chance of being delivered.
|
||
This email address cannot receive replies.
|
||
</p>
|
||
<p class="govuk-body">
|
||
Set up a separate email address to receive replies from
|
||
your users, then enter it here.
|
||
</p>
|
||
{% if current_service.trial_mode %}
|
||
<p class="govuk-body">
|
||
Your service cannot go live until you’ve done this.
|
||
</p>
|
||
{% endif %}
|
||
{% call form () %}
|
||
{{ textbox(
|
||
form.email_address,
|
||
width='2-3',
|
||
safe_error_message=True
|
||
) }}
|
||
{{ page_footer('Save') }}
|
||
{% endcall %}
|
||
|
||
{% endblock %}
|