From 88c30c9fe84d8867df18dedf38dc4daa8402305a Mon Sep 17 00:00:00 2001 From: James Harries Date: Fri, 4 Jul 2025 11:49:49 +0100 Subject: [PATCH] FCL-961 | add red border around form inputs --- transactional_licence_form/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transactional_licence_form/forms.py b/transactional_licence_form/forms.py index 9a325d865..e2c5ed4f3 100644 --- a/transactional_licence_form/forms.py +++ b/transactional_licence_form/forms.py @@ -29,6 +29,8 @@ class ContactForm(FCLForm): contact_email = fields.FCLEmailField( label="2. Contact Email address", max_length=50, + # NOTE: this is a temporary workaround as there is a bug in crispy-forms-gds where they forgot to apply error styling to email inputs + widget=forms.TextInput(attrs={"type": "email"}), ) # NOTE: please see comment in transactional_lcence_form.js if changing the wording / order of the options here. alternative_contact = fields.FCLChoiceField(