Module: StimulusPlumbers::Helpers::CardHelper
- Included in:
- StimulusPlumbers::Helpers
- Defined in:
- lib/stimulus_plumbers/helpers/card_helper.rb
Instance Method Summary collapse
- #sp_card(title: nil, **html_options, &block) ⇒ Object
- #sp_card_section(title: nil, **html_options, &block) ⇒ Object
Instance Method Details
#sp_card(title: nil, **html_options, &block) ⇒ Object
6 7 8 |
# File 'lib/stimulus_plumbers/helpers/card_helper.rb', line 6 def sp_card(title: nil, **, &block) card_renderer.card(title: title, **, &block) end |
#sp_card_section(title: nil, **html_options, &block) ⇒ Object
10 11 12 |
# File 'lib/stimulus_plumbers/helpers/card_helper.rb', line 10 def sp_card_section(title: nil, **, &block) card_renderer.section(title: title, **, &block) end |