From 0a7fa1f79981f8fd16b79b8885501408d4f901d9 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Thu, 2 Apr 2020 11:45:57 +0100 Subject: [PATCH] Update content for postcode valdiation handling for precompiled --- app/utils.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/app/utils.py b/app/utils.py index ba75cbd38..ee185f718 100644 --- a/app/utils.py +++ b/app/utils.py @@ -651,20 +651,12 @@ LETTER_VALIDATION_MESSAGES = { ), }, 'not-a-real-uk-postcode': { - 'title': 'Postcode in the address block is not a real UK postcode', + 'title': 'There’s a problem with the address on this letter', 'detail': ( - 'You need to give us a real UK postcode.
' - 'Files must meet our ' - '' - 'letter specification' - '.' + 'The last line of the address must be a real UK postcode.' ), 'summary': ( - 'Validation failed because the postcode is not a real UK postcode.
' - 'Files must meet our ' - '' - 'letter specification' - '.' + 'Validation failed because the last line of the address is not a real UK postcode.' ), } }