Module: PanelHelper
- Includes:
- ActionView::Helpers
- Included in:
- BootstrapFormHelper
- Defined in:
- app/helpers/panel_helper.rb
Defined Under Namespace
Classes: PanelCreator
Instance Method Summary collapse
Instance Method Details
#panel(content_or_options = nil, options = {}, &block) ⇒ Object
73 74 75 76 77 |
# File 'app/helpers/panel_helper.rb', line 73 def panel(=nil, ={}, &block) .is_a?(Hash) ? = : content = PanelCreator.new(content, , capture(&block)).render end |