Change name of the form and form field for consistency

Following PR review.

Also update function name for update name of security key in
user api client to be more specific.
This commit is contained in:
Pea Tyczynska
2021-05-21 17:10:34 +01:00
parent e384d3e0a1
commit 8501aa4ad6
5 changed files with 14 additions and 14 deletions

View File

@@ -2506,8 +2506,8 @@ class BroadcastAreaFormWithSelectAll(BroadcastAreaForm):
return self.areas.data
class ChangeNameOfSecurityKey(StripWhitespaceForm):
name_of_key = GovukTextInputField(
class ChangeSecurityKeyNameForm(StripWhitespaceForm):
security_key_name = GovukTextInputField(
'Name of key',
validators=[
DataRequired(message='Cannot be empty'),