def button_control_group(*args, &block)
      return button_control_group(capture(&block), *args) if block_given?
      options = args.extract_options!
      options.stringify_keys!

      if options.delete('horizontal') == false
        options['class'] = ('form-group' + ' ' + options['class'].to_s).strip
        content_tag(:div, args.first, options)
      else
        bootstrap_horizontal_form_group nil, [3, 9] do
          options.blank? ? args.first : content_tag(:div, args.first, options)
        end
      end
    end
def button_control_group(*args, &block)
      return button_control_group(capture(&block), *args) if block_given?
      options = args.extract_options!
      options.stringify_keys!

      if options.delete('horizontal') == false
        options['class'] = ('form-group' + ' ' + options['class'].to_s).strip
        content_tag(:div, args.first, options)
      else
        bootstrap_horizontal_form_group nil, [3, 9] do
          options.blank? ? args.first : content_tag(:div, args.first, options)
        end
      end
    end
TODO: bootstrap_pagination_tag(*args, &block)
 Creates a Boostrap control group for button.

 ==== Signatures

   button_control_group(controls, options = {})
   button_control_group(options = {}) do
     # controls
   end

 ==== Examples

   <%= button_control_group("Apples", class: "some_class") %>
   # =>
   <div class="form-group">
     <div class="col-sm-9 col-sm-offset-3">
       <div class="some_class">Apples</div>
     </div>
   </div>