simple_form renders radio buttons incorrectly
Using simple_form I render some radio buttons to select Gender on registration page. code: = f.input :gender, :collection => gender, :as => :radio_buttons, :item_wrapper_class => 'inline' This gives output like: Is there a way to make the first radio button be behind Male and the 2nd radio button behind Female? Here is a better solution than my original below. From the code: # form_for @user do |f| # f.collection_radio_buttons( # :options, [[true, 'Yes'] ,[false, 'No']], :first, :last # ) do |b| # b.label { b.radio_button + b.text } # end # end I think this is what you are looking for: <%= f