Module: BetterUi::General::Components::Panel::PanelHelper
- Included in:
- ApplicationHelper
- Defined in:
- app/helpers/better_ui/general/components/panel/panel_helper.rb
Instance Method Summary collapse
-
#bui_panel(title: nil, body: nil, header: nil, footer: nil, theme: :white, style: :default, padding: :medium, radius: :small, **html_options, &block) ⇒ String
Genera un pannello usando BetterUi::General::Panel::Component.
Instance Method Details
#bui_panel(title: nil, body: nil, header: nil, footer: nil, theme: :white, style: :default, padding: :medium, radius: :small, **html_options, &block) ⇒ String
Genera un pannello usando BetterUi::General::Panel::Component
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'app/helpers/better_ui/general/components/panel/panel_helper.rb', line 55 def bui_panel( title: nil, body: nil, header: nil, footer: nil, theme: :white, style: :default, padding: :medium, radius: :small, **, &block ) render BetterUi::General::Panel::Component.new( title: title, body: body, header: header, footer: , theme: theme, style: style, padding: padding, radius: radius, ** ), &block end |