mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Refactor use ServiceOnOffForm
We no longer need a custom form object here – ServiceOnOffForm does the same job of turning strings to booleans and back again.
This commit is contained in:
@@ -1719,16 +1719,6 @@ class ServiceDeliveryStatusCallbackForm(CallbackForm):
|
||||
)
|
||||
|
||||
|
||||
class InternationalSMSForm(StripWhitespaceForm):
|
||||
enabled = RadioField(
|
||||
'Send text messages to international phone numbers',
|
||||
choices=[
|
||||
('on', 'On'),
|
||||
('off', 'Off'),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
class SMSPrefixForm(StripWhitespaceForm):
|
||||
enabled = RadioField(
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user