Update CreateServiceForm with new fields

Changes its StringField to GovukTextInputField.

Includes changes to templates that use this form
and associated tests.
This commit is contained in:
Tom Byers
2020-08-07 12:18:29 +01:00
parent 9457ba206a
commit 949aa3a9bd
4 changed files with 9 additions and 12 deletions

View File

@@ -1131,7 +1131,7 @@ class OrganisationDomainsForm(StripWhitespaceForm):
class CreateServiceForm(StripWhitespaceForm):
name = StringField(
name = GovukTextInputField(
"Whats your service called?",
validators=[
DataRequired(message='Cannot be empty'),