Sha256: 5178d5fba923772b5e67932ae3ca9dbf24f4de5b87df7ed28d93b3d515fb4c1b
Contents?: true
Size: 841 Bytes
Versions: 20
Compression:
Stored size: 841 Bytes
Contents
# frozen_string_literal: true require_relative '../../components/govuk/pagination' module CCS module FrontendHelpers module GovUKFrontend # = GOV.UK Pagination # # This helper is used for generating the pagination component from the # {https://design-system.service.gov.uk/components/pagination GDS - Components - Pagination} module Pagination # Generates the HTML for the GOV.UK Pagination component # # @param (see CCS::Components::GovUK::Pagination#initialize) # # @option (see CCS::Components::GovUK::Pagination#initialize) # # @return (see CCS::Components::GovUK::Pagination#render) def govuk_pagination(**options) Components::GovUK::Pagination.new(context: self, **options).render end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems