diff --git a/app/assets/stylesheets/govuk-frontend/_all.scss b/app/assets/stylesheets/govuk-frontend/_all.scss index 8249d38f3..6cf2aff39 100644 --- a/app/assets/stylesheets/govuk-frontend/_all.scss +++ b/app/assets/stylesheets/govuk-frontend/_all.scss @@ -34,6 +34,7 @@ $govuk-assets-path: "/static/"; @import "components/radios/_radios"; @import "components/checkboxes/_checkboxes"; @import "components/input/_input"; +@import "components/inset-text/_inset-text"; // update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x @import "./focus/components"; diff --git a/app/templates/partials/templates/guidance-formatting-letters.html b/app/templates/partials/templates/guidance-formatting-letters.html index 6e02550f5..dec743519 100644 --- a/app/templates/partials/templates/guidance-formatting-letters.html +++ b/app/templates/partials/templates/guidance-formatting-letters.html @@ -1,31 +1,30 @@ +{% from "components/inset-text/macro.njk" import govukInsetText %} +
To put a heading in your template, use a hash:
-- # This is a heading -
-To make bullet points, use asterisks:
-
- * point 1
- * point 2
- * point 3
-
To insert a page break, use three asterisks:
-
- Content on page 1
-
- ***
-
- Content on page 2
-
To put a title in your template, use a hash:
-- # This is a title -
+To make bullet points, use asterisks:
-
- * point 1
- * point 2
- * point 3
-
To add inset text, use a caret:
-- ^ You must tell us if your circumstances change -
+To add a horizontal line, use three dashes:
-- First paragraph -
-- --- -
-- Second paragraph -
-First paragraph
+---
+Second paragraph
', + "classes": "govuk-!-margin-top-0"}) +}} diff --git a/app/templates/partials/templates/guidance-links.html b/app/templates/partials/templates/guidance-links.html index 13233badc..937a60470 100644 --- a/app/templates/partials/templates/guidance-links.html +++ b/app/templates/partials/templates/guidance-links.html @@ -1,9 +1,10 @@ +{% from "components/inset-text/macro.njk" import govukInsetText %} +Always use full URLs, starting with https://
-- Apply now at https://www.gov.uk/example -
-- ((under18??Please get your application signed by a parent or - guardian.)) -
-For each person you send this message to, specify ‘yes’ or ‘no’ to show or hide this content. diff --git a/app/templates/partials/templates/guidance-personalisation.html b/app/templates/partials/templates/guidance-personalisation.html index 8730dacc2..5ca896a41 100644 --- a/app/templates/partials/templates/guidance-personalisation.html +++ b/app/templates/partials/templates/guidance-personalisation.html @@ -1,11 +1,12 @@ +{% from "components/inset-text/macro.njk" import govukInsetText %} +
Use double brackets to personalise your message:
-- Hello ((first name)), your reference is ((ref number)) -
-Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document.
-- Download your document at: ((link_to_file)) -
-