From 65308059972b3f2797bb78373773c90852754e0f Mon Sep 17 00:00:00 2001 From: Henry Cooksley Date: Mon, 6 Jan 2025 11:39:09 +0000 Subject: [PATCH] Update UK address form to be in line with GOV.UK Design System --- exporter/core/organisation/forms.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/exporter/core/organisation/forms.py b/exporter/core/organisation/forms.py index 70513bf715..82e50f1529 100644 --- a/exporter/core/organisation/forms.py +++ b/exporter/core/organisation/forms.py @@ -261,33 +261,31 @@ class Layout: ) address_line_1 = AddressLineField( - label="Building and street", + label="Address line 1", error_messages={ - "required": "Enter a real building and street name", + "required": "Enter address line 1, typically the building and street", }, ) address_line_2 = AddressLineField( - label="", + label="Address line 2 (optional)", required=False, ) city = AddressLineField( label="Town or city", error_messages={ - "required": "Enter a real city", + "required": "Enter town or city", }, ) region = AddressLineField( - label="County or state", - error_messages={ - "required": "Enter a county or state", - }, + label="County (optional)", + required=False, ) postcode = forms.CharField( label="Postcode", error_messages={ - "required": "Enter a real postcode", + "required": "Enter postcode", }, )