diff --git a/internal/voucher/voucherpage/register.go b/internal/voucher/voucherpage/register.go index f1d9980b1f..da16b4c723 100644 --- a/internal/voucher/voucherpage/register.go +++ b/internal/voucher/voucherpage/register.go @@ -109,6 +109,9 @@ func Register( VerifyDonorDetails(tmpls.Get("verify_donor_details.gohtml"), lpaStoreResolvingService, voucherStore)) handleVoucher(voucher.PathDonorDetailsDoNotMatch, None, Guidance(tmpls.Get("donor_details_do_not_match.gohtml"), lpaStoreResolvingService)) + + handleVoucher(voucher.PathConfirmYourIdentity, None, + Guidance(tmpls.Get("confirm_your_identity.gohtml"), lpaStoreResolvingService)) } type handleOpt byte diff --git a/lang/cy.json b/lang/cy.json index 7fdb7f9f23..439b25ac3e 100644 --- a/lang/cy.json +++ b/lang/cy.json @@ -1336,5 +1336,6 @@ "addReferenceNumber": "Welsh", "youHaveToldUsThatTheDetailsDoNotMatch": "Welsh", "youHaveToldUsDetailsDoNotMatchIdentity": "Welsh {{.DonorFullNamePossessive}}", - "youHaveToldUsDetailsDoNotMatchIdentityContent": "

Welsh {{.DonorFirstNames}}

" + "youHaveToldUsDetailsDoNotMatchIdentityContent": "

Welsh {{.DonorFirstNames}}

", + "voucherConfirmYourIdentityContent": "

Welsh {{.DonorFullName}}

" } diff --git a/lang/en.json b/lang/en.json index 3b26bea69c..c29681a00f 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1265,5 +1265,6 @@ "addReferenceNumber": "Add a reference number", "youHaveToldUsThatTheDetailsDoNotMatch": "You have told us that the details do not match", "youHaveToldUsDetailsDoNotMatchIdentity": "You have told us that the details do not match {{.DonorFullNamePossessive}} identity.", - "youHaveToldUsDetailsDoNotMatchIdentityContent": "

We have contacted {{.DonorFirstNames}} to let them know. You do not need to do anything else.

You can now close this browsing window.

" + "youHaveToldUsDetailsDoNotMatchIdentityContent": "

We have contacted {{.DonorFirstNames}} to let them know. You do not need to do anything else.

You can now close this browsing window.

", + "voucherConfirmYourIdentityContent": "

Before you can vouch for {{.DonorFullName}}, you need to confirm your own identity.

You can do this either:

You will need an identity document, for example your passport or driving licence.

It takes longer to do it at a Post Office, but you can usually get an outcome within a day.

Choose how to confirm your identity

When you continue, you’ll go to GOV.UK One Login where you can choose if you want to confirm your identity online or in person.

" } diff --git a/web/template/voucher/confirm_your_identity.gohtml b/web/template/voucher/confirm_your_identity.gohtml new file mode 100644 index 0000000000..9ece341c24 --- /dev/null +++ b/web/template/voucher/confirm_your_identity.gohtml @@ -0,0 +1,16 @@ +{{ template "page" . }} + +{{ define "pageTitle" }}{{ tr .App "confirmYourIdentity" }}{{ end }} + +{{ define "main" }} +
+
+

{{ tr .App "confirmYourIdentity" }}

+ + {{ trFormatHtml .App "voucherConfirmYourIdentityContent" + "DonorFullName" .Lpa.Donor.FullName }} + + {{ template "button" (button .App "continue" "link" (global.Paths.Voucher.TaskList.Format .App.LpaID)) }} +
+
+{{ end }}