mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 13:41:38 -04:00
Update CreateKeyForm to new fields
Changes its StringFields to GovukTextInputFields. Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -1412,7 +1412,7 @@ class CreateKeyForm(StripWhitespaceForm):
|
||||
thing='the type of key',
|
||||
)
|
||||
|
||||
key_name = StringField(u'Description of key', validators=[
|
||||
key_name = GovukTextInputField("Name for this key", validators=[
|
||||
DataRequired(message='You need to give the key a name')
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user