diff --git a/app/assets/stylesheets/components/secondary-button.scss b/app/assets/stylesheets/components/secondary-button.scss index 6e7a0ff7c..2aef3ffb4 100644 --- a/app/assets/stylesheets/components/secondary-button.scss +++ b/app/assets/stylesheets/components/secondary-button.scss @@ -6,3 +6,12 @@ padding-right: 0; text-align: center; } + +.tertiary-button { + @include button($grey-3); + padding: 0.3em 0.1em 0.2em 0.1em; + width: 100%; + padding-left: 0; + padding-right: 0; + text-align: left; +} diff --git a/app/templates/partials/templates/guidance-character-count.html b/app/templates/partials/templates/guidance-character-count.html new file mode 100644 index 000000000..b11dae62e --- /dev/null +++ b/app/templates/partials/templates/guidance-character-count.html @@ -0,0 +1,12 @@ +
+ Message length +
+

+ If your message is long then it will + cost more. +

+

+ See pricing for details. +

+
+
diff --git a/app/templates/partials/templates/guidance-links.html b/app/templates/partials/templates/guidance-links.html new file mode 100644 index 000000000..2d0b7131e --- /dev/null +++ b/app/templates/partials/templates/guidance-links.html @@ -0,0 +1,8 @@ +
+ Links and URLs +
+

+ Always use full URLs, including the http:// +

+
+
diff --git a/app/templates/partials/templates/guidance-personalisation.html b/app/templates/partials/templates/guidance-personalisation.html new file mode 100644 index 000000000..c395f42e6 --- /dev/null +++ b/app/templates/partials/templates/guidance-personalisation.html @@ -0,0 +1,14 @@ +
+ Personalisation +
+

+ Use double brackets to add personalisation. +

+

+ Yes: ((name)) +

+

+ No: ((Helen)) +

+
+
diff --git a/app/templates/views/edit-email-template.html b/app/templates/views/edit-email-template.html index ab0492963..1e3db961c 100644 --- a/app/templates/views/edit-email-template.html +++ b/app/templates/views/edit-email-template.html @@ -16,9 +16,9 @@
{{ textbox(form.name, width='1-1', hint='Your recipients won’t see this', rows=10) }} + {{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
- {{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }} {{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }} {{ page_footer( 'Save', @@ -26,13 +26,11 @@ delete_link_text='Delete this template' ) }}
-
- -
+
diff --git a/app/templates/views/edit-sms-template.html b/app/templates/views/edit-sms-template.html index ee4778fa9..45d6d7fe4 100644 --- a/app/templates/views/edit-sms-template.html +++ b/app/templates/views/edit-sms-template.html @@ -18,20 +18,19 @@ {{ textbox(form.name, width='1-1', hint='Your recipients won’t see this') }}
- {{ textbox(form.template_content, highlight_tags=True, width='1-1') }} + {{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=5) }} {{ page_footer( 'Save', delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None, delete_link_text='Delete this template' ) }}
-
- -
+