Module: CCS::FrontendHelpers::CCSFrontend::DashboardSection
- Included in:
- CCS::FrontendHelpers::CCSFrontend
- Defined in:
- lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
Overview
CCS Dashboard Section
This helper is used for generating the dashboard section component
Instance Method Summary collapse
-
#ccs_dashboard_section(dashboard_section_panels, title_text = nil, **options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the CCS Dashboard Section component.
Instance Method Details
#ccs_dashboard_section(dashboard_section_panels, title_text = nil, **options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the CCS Dashboard Section component
21 22 23 |
# File 'lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb', line 21 def ccs_dashboard_section(dashboard_section_panels, title_text = nil, **) Components::CCS::DashboardSection.new(context: self, dashboard_section_panels: dashboard_section_panels, title_text: title_text, **).render end |