Module: PanelHelper
- Includes:
- ActionView::Helpers
- Included in:
- BootstrapFormHelper
- Defined in:
- app/helpers/panel_helper.rb
Instance Method Summary collapse
Instance Method Details
#panel(options = {}, &block) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/helpers/panel_helper.rb', line 4 def panel(={}, &block) tag = .delete(:tag).try(:to_sym) || :div type = get_panel_type(.delete(:type)) prepend_class(, 'panel', type) content_tag tag, , &block end |