Skip to content

Commit f47614e

Browse files
CCM-9495: Update letter submit page wordng
1 parent 8a5a380 commit f47614e

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

frontend/src/__tests__/components/forms/SubmitTemplate/__snapshots__/SubmitLetterTemplate.test.tsx.snap

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ exports[`SubmitLetterTemplate component should render 1`] = `
3535
is formatted correctly
3636
</li>
3737
</ul>
38-
<p>
39-
If you need to make further changes to this template, go back and upload an updated or different letter
40-
</p>
4138
<h2
4239
class="nhsuk-heading-s"
4340
>
@@ -67,8 +64,16 @@ exports[`SubmitLetterTemplate component should render 1`] = `
6764
</span>
6865
</h2>
6966
<p>
70-
When you submit this template you will not be able to make further changes. If you still need to change this template after it's submitted, replace it with a new template.
67+
If you need to change this template after you've submitted it:
7168
</p>
69+
<ul>
70+
<li>
71+
go back and upload a new letter template
72+
</li>
73+
<li>
74+
tell your onboarding manager which template you want to use
75+
</li>
76+
</ul>
7277
</div>
7378
<form
7479
action="/action"

frontend/src/components/forms/SubmitTemplate/SubmitLetterTemplate.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
1919
const {
2020
pageHeading,
2121
warningCalloutLabel,
22-
warningCalloutText,
22+
warningCalloutChecklistIntroduction,
23+
warningCalloutChecklistItems,
2324
submitChecklistHeading,
2425
submitChecklistIntroduction,
2526
submitChecklistItems,
26-
submitChecklistParagraphs,
2727
goBackButtonText,
2828
buttonText,
2929
afterSubmissionHeading,
@@ -46,9 +46,6 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
4646
<li key={`submit-list-${item.slice(0, 5)}`}>{item}</li>
4747
))}
4848
</ul>
49-
{submitChecklistParagraphs.map((item) => (
50-
<p key={`submit-paragraph-${item.slice(0, 5)}`}>{item}</p>
51-
))}
5249
<h2 className='nhsuk-heading-s'>{afterSubmissionHeading}</h2>
5350
{afterSubmissionText.map((item) => (
5451
<p key={`after-submission-paragraph-${item.slice(0, 5)}`}>{item}</p>
@@ -57,7 +54,12 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
5754
<WarningCallout.Label headingLevel='h2'>
5855
{warningCalloutLabel}
5956
</WarningCallout.Label>
60-
<p>{warningCalloutText}</p>
57+
<p>{warningCalloutChecklistIntroduction}</p>
58+
<ul>
59+
{warningCalloutChecklistItems.map((item) => (
60+
<li key={`warning-callout-list-${item.slice(0, 5)}`}>{item}</li>
61+
))}
62+
</ul>
6163
</WarningCallout>
6264
<NHSNotifyFormWrapper formId='submit-template-form' action={action}>
6365
<input

0 commit comments

Comments
 (0)