Fixed broken edit functionality

This commit is contained in:
chrisw
2017-10-30 14:30:43 +00:00
parent dd88d007e1
commit d02cd67b0d
5 changed files with 31 additions and 22 deletions

View File

@@ -497,7 +497,7 @@ class ServiceReplyToEmailForm(Form):
is_default = BooleanField("Make this email address the default")
class ServiceSmsSender(Form):
class ServiceSmsSenderForm(Form):
sms_sender = StringField(
'Text message sender',
validators=[
@@ -512,6 +512,10 @@ class ServiceSmsSender(Form):
raise ValidationError('Use letters and numbers only')
class ServiceEditInboundNumberForm(Form):
is_default = BooleanField("Make this text message sender the default")
class ServiceLetterContactBlockForm(Form):
letter_contact_block = TextAreaField(
validators=[