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