Module: CCS::FrontendHelpers::GovUKFrontend::Pagination
- Included in:
- CCS::FrontendHelpers::GovUKFrontend
- Defined in:
- lib/ccs/frontend_helpers/govuk_frontend/pagination.rb
Overview
GOV.UK Pagination
This helper is used for generating the pagination component from the GDS - Components - Pagination
Instance Method Summary collapse
-
#govuk_pagination(**options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the GOV.UK Pagination component.
Instance Method Details
#govuk_pagination(**options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the GOV.UK Pagination component
22 23 24 |
# File 'lib/ccs/frontend_helpers/govuk_frontend/pagination.rb', line 22 def govuk_pagination(**) Components::GovUK::Pagination.new(context: self, **).render end |