mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 12:48:24 -04:00
Change the selectField on the edit template form to a radio field.
It's more stylish
This commit is contained in:
@@ -270,9 +270,19 @@ class SMSTemplateForm(Form):
|
||||
NoCommasInPlaceHolders()
|
||||
]
|
||||
)
|
||||
process_type = SelectField(u'Use priority queue?', choices=[('normal', 'no'),
|
||||
('priority', 'yes')],
|
||||
default='normal')
|
||||
# process_type = SelectField(u'Use priority queue?', choices=[('normal', 'no'),
|
||||
# ('priority', 'yes')],
|
||||
# default='normal')
|
||||
|
||||
process_type = RadioField(
|
||||
'Use priority queue?',
|
||||
choices=[
|
||||
('priority', 'Yes'),
|
||||
('normal', 'No'),
|
||||
],
|
||||
validators=[DataRequired()],
|
||||
default='normal'
|
||||
)
|
||||
|
||||
|
||||
class EmailTemplateForm(SMSTemplateForm):
|
||||
|
||||
Reference in New Issue
Block a user