Update RenameOrganisationForm with new fields

Changes its StringFields to GovukTextInputFields.

This change also affects NewOrganisationForm,
which inherits from RenameOrganisationForm.

Also includes changes to templates that use this
form and associated tests.
This commit is contained in:
Pea Tyczynska
2020-08-04 16:32:40 +01:00
committed by Tom Byers
parent a22b8cf684
commit 9437a23f09
4 changed files with 12 additions and 16 deletions

View File

@@ -1033,7 +1033,7 @@ class RenameServiceForm(StripWhitespaceForm):
class RenameOrganisationForm(StripWhitespaceForm):
name = StringField(
name = GovukTextInputField(
u'Organisation name',
validators=[
DataRequired(message='Cannot be empty'),