introduce check_other and radio_other question types
completes issue #48
This commit is contained in:
1 parent
229ebf1380
commit
df1b101aa2
12 files changed
+276
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user