Module: Adminterface::Extensions::Views::Components::SidebarSection
- Defined in:
- lib/adminterface/extensions/views/components/sidebar_section.rb
Instance Method Summary collapse
- #default_body_class ⇒ Object
- #default_header_class ⇒ Object
- #default_title_class ⇒ Object
- #default_wrapper_class ⇒ Object
Instance Method Details
#default_body_class ⇒ Object
18 19 20 |
# File 'lib/adminterface/extensions/views/components/sidebar_section.rb', line 18 def default_body_class "panel-body #{[:body]}".squish end |
#default_header_class ⇒ Object
14 15 16 |
# File 'lib/adminterface/extensions/views/components/sidebar_section.rb', line 14 def default_header_class "panel-header #{.dig(:header, :wrapper)}".squish end |
#default_title_class ⇒ Object
6 7 8 |
# File 'lib/adminterface/extensions/views/components/sidebar_section.rb', line 6 def default_title_class "title #{.dig(:header, :title)}".squish end |
#default_wrapper_class ⇒ Object
10 11 12 |
# File 'lib/adminterface/extensions/views/components/sidebar_section.rb', line 10 def default_wrapper_class "panel #{[:wrapper]}".squish end |