Module: Bh::PanelRowHelper
- Includes:
- PanelHelper
- Defined in:
- lib/bh/helpers/panel_row_helper.rb
Overview
Provides methods to include multiple panels in a row.
Instance Method Summary collapse
-
#panel_row(options = {}, &block) ⇒ String
Returns an HTML block tag that follows the Bootstrap documentation on how to display a row, passing column options to each panel in the row.
Instance Method Details
#panel_row(options = {}, &block) ⇒ String
Returns an HTML block tag that follows the Bootstrap documentation on how to display a row, passing column options to each panel in the row.
22 23 24 25 26 |
# File 'lib/bh/helpers/panel_row_helper.rb', line 22 def panel_row( = {}, &block) content_tag :div, class: 'row' do capture_panel_row(, &block) if block_given? end end |