Class: ExpressAdmin::Components::Layout::Pane
- Inherits:
-
LayoutComponent
- Object
- ExpressTemplates::Components::Container
- LayoutComponent
- ExpressAdmin::Components::Layout::Pane
- Defined in:
- app/components/express_admin/layout_components/pane.rb
Instance Method Summary collapse
Methods inherited from LayoutComponent
Instance Method Details
#heading ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/components/express_admin/layout_components/pane.rb', line 14 def heading h4(class: 'pane-title') { current_arbre_element.add_child title if status span(class: 'pane-status') { status } end } end |
#status ⇒ Object
27 28 29 |
# File 'app/components/express_admin/layout_components/pane.rb', line 27 def status config[:status] end |
#title ⇒ Object
23 24 25 |
# File 'app/components/express_admin/layout_components/pane.rb', line 23 def title config[:title] end |