mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 05:53:51 -04:00
Update ServiceContactDetailsForm with new fields
Changes its: - StringFields to GovukTextInputFields - EmailFields to GovukEmailFields Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -1525,9 +1525,9 @@ class ServiceContactDetailsForm(StripWhitespaceForm):
|
||||
],
|
||||
)
|
||||
|
||||
url = StringField("URL")
|
||||
email_address = EmailField("Email address")
|
||||
phone_number = StringField("Phone number")
|
||||
url = GovukTextInputField("URL")
|
||||
email_address = GovukEmailField("Email address")
|
||||
phone_number = GovukTextInputField("Phone number")
|
||||
|
||||
def validate(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user