Module: Golden::Theme::Bootstrap::ButtonHelper
- Defined in:
- lib/golden/theme/bootstrap/button_helper.rb
Instance Method Summary collapse
Instance Method Details
#bootstrap_btn_group(tag = :div, options = {}) {|buttons| ... } ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/golden/theme/bootstrap/button_helper.rb', line 3 def bootstrap_btn_group tag = :div, = {} = [] yield if block_given? text = .join('').html_safe = { class: 'btn-group' }.deep_merge content_tag tag, text, end |