Update ServiceSmsSenderForm with new fields

Changes its StringField to GovukTextInputField.

Includes changes to templates that use this form
and associated tests.
This commit is contained in:
Pea Tyczynska
2020-08-04 16:58:04 +01:00
committed by Tom Byers
parent f38e268db6
commit 852ef61aad
4 changed files with 11 additions and 13 deletions

View File

@@ -1563,7 +1563,7 @@ class ServiceReplyToEmailForm(StripWhitespaceForm):
class ServiceSmsSenderForm(StripWhitespaceForm):
sms_sender = StringField(
sms_sender = GovukTextInputField(
'Text message sender',
validators=[
DataRequired(message="Cannot be empty"),