Change the selectField on the edit template form to a radio field.

It's more stylish
This commit is contained in:
Rebecca Law
2017-01-19 09:35:34 +00:00
parent 134190332f
commit b372ab7ba1
3 changed files with 17 additions and 5 deletions

View File

@@ -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):