Module: Blot::Helpers::Components
- Included in:
- Blot::Helpers
- Defined in:
- lib/blot/helpers/components.rb
Instance Method Summary collapse
Instance Method Details
permalink #panel_section ⇒ Object
[View source]
10 11 12 13 14 |
# File 'lib/blot/helpers/components.rb', line 10 def panel_section section do columns(:twelve, class: 'panel center') { yield if block_given? } end end |
permalink #section ⇒ Object
[View source]
4 5 6 7 8 |
# File 'lib/blot/helpers/components.rb', line 4 def section row do wrapper(class: 'last') { yield if block_given? } end end |