From 662f3e84b18770e7b1989bd2cf7f52af35b00d8e Mon Sep 17 00:00:00 2001 From: Joshua Hawxwell Date: Fri, 20 Oct 2023 10:57:25 +0100 Subject: [PATCH] MLPAB-1189 Use summary card for signing boxes (#786) --- .../confirm-your-identity-and-sign.cy.js | 2 +- web/template/attorney_sign.gohtml | 15 +++++---- web/template/provide_certificate.gohtml | 31 +++++++++---------- web/template/sign_the_lpa_on_behalf.gohtml | 12 +++---- web/template/sign_your_lpa.gohtml | 17 +++++----- 5 files changed, 36 insertions(+), 41 deletions(-) diff --git a/cypress/e2e/donor/confirm-your-identity-and-sign.cy.js b/cypress/e2e/donor/confirm-your-identity-and-sign.cy.js index 0d8ddd629e..66345f2c7e 100644 --- a/cypress/e2e/donor/confirm-your-identity-and-sign.cy.js +++ b/cypress/e2e/donor/confirm-your-identity-and-sign.cy.js @@ -81,7 +81,7 @@ describe('Confirm your identity and sign', () => { cy.contains('Select both boxes to sign and apply to register your LPA'); }); - cy.contains('.moj-ticket-panel .govuk-error-message', 'Select both boxes to sign and apply to register your LPA'); + cy.contains('.govuk-error-message', 'Select both boxes to sign and apply to register your LPA'); }); it('errors when not witnessed', () => { diff --git a/web/template/attorney_sign.gohtml b/web/template/attorney_sign.gohtml index c225dc5914..737aa80dd5 100644 --- a/web/template/attorney_sign.gohtml +++ b/web/template/attorney_sign.gohtml @@ -75,16 +75,15 @@ {{ trHtml .App "asReplacementAttorneyAlsoConfirmThat" }} {{ end }} -
-
-

- {{ tr .App "yourSignature" }} -

- -
+
+
+ {{ tr .App "yourSignature" }} +
+
+
{{ template "error-message" (errorMessage . "confirm") }} -
+
diff --git a/web/template/sign_the_lpa_on_behalf.gohtml b/web/template/sign_the_lpa_on_behalf.gohtml index ed3f29fb47..bb93c6f4bb 100644 --- a/web/template/sign_the_lpa_on_behalf.gohtml +++ b/web/template/sign_the_lpa_on_behalf.gohtml @@ -56,26 +56,24 @@
{{ template "error-message" (errorMessage . "sign-lpa") }} -
+
- +
- +
- -
- {{ tr .App "whenYouTickAsAuthorisedSignatory" }} -
+ +
{{ tr .App "whenYouTickAsAuthorisedSignatory" }}
diff --git a/web/template/sign_your_lpa.gohtml b/web/template/sign_your_lpa.gohtml index 777ab5836e..06c9ee5dab 100644 --- a/web/template/sign_your_lpa.gohtml +++ b/web/template/sign_your_lpa.gohtml @@ -44,8 +44,11 @@ -
-
+
+
+ {{ tr .App "yourSignature" }} +
+

{{ trFormat .App "iConfirmThat" "DonorFullName" .Lpa.Donor.FullName }}

@@ -55,24 +58,22 @@
- +
- +
- -
- {{ tr .App "whenYouTickAndClick" }} -
+ +

{{ tr .App "whenYouTickAndClick" }}