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:
Tom Byers
2020-08-07 12:20:05 +01:00
parent 949aa3a9bd
commit 880a0a3318
2 changed files with 2 additions and 3 deletions

View File

@@ -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')
])