- Always use full URLs, starting with https://. For example:
-{{ usaInsetText({
- "text": "Apply now at https://www.usa.gov/example",
- "classes": "usa-body"})
-}}
+
+
+
+
+
+ Always use full URLs, starting with https://. For example:
+ {{ usaInsetText({
+ "text": "Apply now at https://www.usa.gov/example",
+ "classes": "usa-body"})
+ }}
+
\ No newline at end of file
diff --git a/app/templates/partials/templates/guidance-optional-content.html b/app/templates/partials/templates/guidance-optional-content.html
index 8c97be5b3..d3bc0dba5 100644
--- a/app/templates/partials/templates/guidance-optional-content.html
+++ b/app/templates/partials/templates/guidance-optional-content.html
@@ -1,21 +1,25 @@
{% from "components/components/inset-text/macro.njk" import usaInsetText %}
-
- Optional content
-
-
- Use double brackets and ‘??’ to define optional content.
-
-
- For example if you only want to show something to people who are under
- 18:
-
-{{ usaInsetText({
+
+
+
+
+
+ Use double brackets and ‘??’ to define optional content.
+
+
+ For example if you only want to show something to people who are under
+ 18:
+
+ {{ usaInsetText({
"text": "((under18??Please get your application signed by a parent or
guardian.))",
"classes": "usa-body"})
-}}
-
- For each person you send this message to, specify ‘yes’ or ‘no’ to
- show or hide this content.
-
+ }}
+
+ For each person you send this message to, specify ‘yes’ or ‘no’ to
+ show or hide this content.
+
{% include "partials/templates/guidance-formatting.html" %}
- {% include "partials/templates/guidance-personalisation.html" %}
+ {% include "partials/templates/guidance-personalization.html" %}
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% include "partials/templates/guidance-send-a-document.html" %}
diff --git a/app/templates/views/edit-sms-template.html b/app/templates/views/edit-sms-template.html
index 0c22a8bc5..319fbe37e 100644
--- a/app/templates/views/edit-sms-template.html
+++ b/app/templates/views/edit-sms-template.html
@@ -20,11 +20,9 @@
{{ page_header('{} text message template'.format(heading_action)) }}
- {{ usaAlert({
- "type": "info",
- "text": "Don't worry, saving the template will not send",
- "classes": "margin-top-2 usa-button--secondary"
- }) }}
+
+ How to customize your message
+
{% if current_service.prefix_sms %}
{% set content_hint = 'Your service name will be added to the start of your message. You can turn this off in Settings.' %}
@@ -32,7 +30,7 @@
{% call form_wrapper() %}
-
+
{{ form.name(param_extensions={
"extra_form_group_classes": "margin-bottom-2",
"hint": {"text": "Your recipients will not see this"}
@@ -50,22 +48,36 @@
{{ form.process_type }}
{% endif %}
-
-
-
-
+
+
+
+
+
+
- {{ page_footer('Save') }}
-
- After saving, you'll have the option to send 🚀
-
-
- {% include "partials/templates/guidance-personalisation.html" %}
- {% include "partials/templates/guidance-optional-content.html" %}
- {% include "partials/templates/guidance-links.html" %}
- {% include "partials/templates/guidance-character-count.html" %}
+
+
+ {{ page_footer('Save') }}
+
+
+
+ After saving, you'll have the option to send.
+
+
+
+
+
+
How to customize your message
+
+ {% include "partials/templates/guidance-personalization.html" %}
+ {% include "partials/templates/guidance-optional-content.html" %}
+ {% include "partials/templates/guidance-links.html" %}
+ {% include "partials/templates/guidance-character-count.html" %}
+