mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
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:
@@ -1033,7 +1033,7 @@ class RenameServiceForm(StripWhitespaceForm):
|
||||
|
||||
|
||||
class RenameOrganisationForm(StripWhitespaceForm):
|
||||
name = StringField(
|
||||
name = GovukTextInputField(
|
||||
u'Organisation name',
|
||||
validators=[
|
||||
DataRequired(message='Cannot be empty'),
|
||||
|
||||
Reference in New Issue
Block a user