mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-03 14:58:24 -04:00
This will stop us repeatedly forgetting to add `novalidate` and `autocomplete='off'` to our forms (which is how most of them are set up). It uses sensible defaults, based on how we most-commonly configure forms: - most of our forms are `post`ed (but this can be overridden) - `autocomplete` should only be enabled where it makes sense, otherwise it’s more annoying than useful (but this can be overriden) - we should never be using HTML5 form validation because our own error styles and messages are better
44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
|
||
{% block service_page_title %}
|
||
Email reply-to address
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">
|
||
Email reply-to address
|
||
</h1>
|
||
<p>
|
||
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 can’t receive replies.
|
||
</p>
|
||
<p>
|
||
Set up a separate email address to receive replies from
|
||
your users, then enter it here.
|
||
</p>
|
||
{% if current_service.restricted %}
|
||
<p>
|
||
Your service can’t 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',
|
||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||
back_link_text='Back to settings'
|
||
) }}
|
||
{% endcall %}
|
||
|
||
{% endblock %}
|