My rails 3.1.3 app is using simple_form 2.0.1 and twitter_bootstrap_rails 2.0.3.
All my form elements looks fine except when I use a radio collection
= f.collection_radio_buttons :my_fieldname, [['x1', 'FOO'],
['x2', 'BAR'],
['x3', 'FOOBAR'],
['', 'None']], :first, :last
the radio buttons and labels are displayed vertically like this:
()
FOO
()
BAR
()
FOOBAR
()
None
instead of like this:
() FOO () BAR () FOOBAR () None
I have the "form-horizontal" class assigned to simple_form_for, and all the other form elements look fine.
Do I need a special class attached to the f.collection_radio_buttons?
display:block
instead ofdisplay:inline
. – nicholaides