diff --git a/app/main/validators.py b/app/main/validators.py index 131c70a77..f9b2de0cc 100644 --- a/app/main/validators.py +++ b/app/main/validators.py @@ -61,7 +61,7 @@ class ValidEmail: class NoCommasInPlaceHolders: - def __init__(self, message="You cannot put commas between double brackets"): + def __init__(self, message="You cannot put commas between double parenthesis"): self.message = message def __call__(self, form, field): diff --git a/app/templates/partials/templates/guidance-optional-content.html b/app/templates/partials/templates/guidance-optional-content.html index d3bc0dba5..6b74effcb 100644 --- a/app/templates/partials/templates/guidance-optional-content.html +++ b/app/templates/partials/templates/guidance-optional-content.html @@ -7,7 +7,7 @@

- Use double brackets and ‘??’ to define optional content. + Use double parenthesis and ‘??’ to define optional content.

For example if you only want to show something to people who are under diff --git a/app/templates/partials/templates/guidance-personalization.html b/app/templates/partials/templates/guidance-personalization.html index bc6a358a5..0c11906cd 100644 --- a/app/templates/partials/templates/guidance-personalization.html +++ b/app/templates/partials/templates/guidance-personalization.html @@ -7,11 +7,10 @@

- Use double brackets to personalize your message: + Use double parenthesis to personalize your message:

{{ usaInsetText({ "text": "Hello ((first name)), your reference is ((ref number))", "classes": ""}) }}
- diff --git a/app/templates/partials/templates/guidance-send-a-document.html b/app/templates/partials/templates/guidance-send-a-document.html index 3f839e378..d9841869a 100644 --- a/app/templates/partials/templates/guidance-send-a-document.html +++ b/app/templates/partials/templates/guidance-send-a-document.html @@ -4,7 +4,7 @@ Send a document by email

- Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document. + Use double parenthesis to add a placeholder field to your template. This will contain a secure link to download the document.

{{ usaInsetText({ "text": "Download your document at: ((link_to_file))", diff --git a/app/templates/views/check/column-errors.html b/app/templates/views/check/column-errors.html index a24b5de3e..bcb518892 100644 --- a/app/templates/views/check/column-errors.html +++ b/app/templates/views/check/column-errors.html @@ -102,7 +102,7 @@ Error