mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
When we converted textboxes on Notify to govuk-frontend design system
style with @tombye , we did not remove the imports.
This work is now done in this commit.
Some things that will still stay in our repo for now:
textbox macro in our components folder and associated css
textboxes which are really textarea fields (🤷 how do they work)
textboxes on the styleguide page
We should revisit this when we convert textarea fields
to govuk-frontend.
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/banner.html" import banner_wrapper %}
|
|
{% 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 reply-to email address
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'Change reply-to email address',
|
|
back_link=url_for('main.service_email_reply_to', service_id=current_service.id)
|
|
) }}
|
|
{% call form_wrapper() %}
|
|
{{ form.email_address(
|
|
param_extensions={
|
|
"hint": {"text": "This should be a shared inbox managed by your team, not your own email address"},
|
|
"classes": "govuk-!-width-full"
|
|
},
|
|
error_message_with_html=True
|
|
) }}
|
|
{% if form.is_default.data %}
|
|
<p class="form-group">
|
|
This is the default reply-to address for {{ current_service.name }} emails
|
|
</p>
|
|
{{ page_footer('Save') }}
|
|
{% else %}
|
|
{{ form.is_default }}
|
|
{{ page_footer(
|
|
'Save',
|
|
delete_link=url_for('.service_confirm_delete_email_reply_to', service_id=current_service.id, reply_to_email_id=reply_to_email_address_id),
|
|
delete_link_text='Delete'
|
|
) }}
|
|
{% endif %}
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|