introduce check_other and radio_other question types

completes issue #48
This commit is contained in:
Mark Moser
2016-08-31 16:59:25 -05:00
parent 229ebf1380
commit df1b101aa2
12 changed files with 276 additions and 14 deletions

View File

@ -22,7 +22,9 @@ module ApplicationHelper
options_for_select([
%w(Text text),
%w(Radio radio),
['Radio with other', 'radio_other'],
%w(Checkbox checkbox),
['Checkbox with other', 'checkbox_other'],
%w(Coder live_code)
], selected: (val.blank? ? '' : val))
end