def toggles(*args, &block)

    options  = args.extract_options!
    label    = args.first.nil? ? '' : args.shift

    # Pull out the label class
    label_class = options[:label_class] || @options[:default_label_class]
    options.delete :label_class

    # This set of toggles will conform to either the stacked or inline style
    options[:style] ||= @options[:default_toggle_style]
    raise "Invalid style passed to toggles: #{options[:style].to_s}. Must be :stacked or :inline" unless [:stacked, :inline].include?(options[:style])
    @toggles_style = options[:style]

    # Not necessary, but makes it convenient if we are using the horizontal form style
    template.content_tag :div, :class => 'form-group' do
      template.concat self.label(nil, label, :class => label_class) if label.present?

			if @options[:layout] == :horizontal
        html_class = label.present? ? @options[:default_div_class] : 'col-lg-offset-2 col-lg-10'
      end
      template.concat template.content_tag(:div, :class => html_class) { block.call }
    end
  end
Wraps groups of toggles (radio buttons, checkboxes) with a single label
and the appropriate markup. All toggle buttons should be rendered
inside of here, and will not look correct unless they are.