def collection_radio_buttons(method, collection, value_method, text_method, options = {}, html_options = {})
      bootstrap = form_bootstrap.scoped(options.delete(:bootstrap))
      return super if bootstrap.disabled

      args = [bootstrap, :radio_button, method, collection, value_method, text_method, options, html_options]
      draw_choices(*args) do |m, v, opts|
        radio_button(m, v, opts)
      end
    end
def collection_radio_buttons(method, collection, value_method, text_method, options = {}, html_options = {})
      bootstrap = form_bootstrap.scoped(options.delete(:bootstrap))
      return super if bootstrap.disabled

      args = [bootstrap, :radio_button, method, collection, value_method, text_method, options, html_options]
      draw_choices(*args) do |m, v, opts|
        radio_button(m, v, opts)
      end
    end
Helper to generate multiple radio buttons. Example usage:

   collection_radio_buttons :choices, ["a", "b"], :to_s, :to_s %>
   collection_radio_buttons :choices, [["a", "Label A"], ["b", "Label B"]], :first, :second
   collection_radio_buttons :choices, Choice.all, :id, :label

 Takes bootstrap options:
   inline: true            - to render inputs inline
   label: {text: "Custom"} - to specify a label
   label: {hide: true}     - to not render label at all