Merge pull request #3950 from alphagov/clarify-sms-prefix

Explain about text message prefixes when editing
This commit is contained in:
Ben Thorner
2021-07-07 12:35:23 +01:00
committed by GitHub
2 changed files with 29 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
back_link=url_for('main.view_template', service_id=current_service.id, template_id=template.id) if template else url_for('main.choose_template', service_id=current_service.id, template_folder_id=template_folder_id)
) }}
{% if current_service.prefix_sms %}
{% set content_hint = 'Your message will start with your service name' %}
{% endif %}
{% call form_wrapper() %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
@@ -26,6 +30,7 @@
form.template_content,
highlight_placeholders=True,
width='1-1',
hint=content_hint,
rows=5,
extra_form_group_classes='govuk-!-margin-bottom-2'
) }}