Sha256: 1e7e759b4618af597a447cab80bb96aed4414bdaacbab4b6eec0e79d95fce12a
Contents?: true
Size: 683 Bytes
Versions: 20
Compression:
Stored size: 683 Bytes
Contents
require 'action_view' module CCS module Components module GovUK class Pagination < Base class Item < Base # = GOV.UK Pagination Item ellipsis # # This generates the HTML for a pagination ellipsis class Ellipsis extend ActionView::Context extend ActionView::Helpers # Generates the HTML for the GOV.UK Pagination Item ellipsis # # @return [ActiveSupport::SafeBuffer] def self.render tag.li('⋯', class: 'govuk-pagination__item govuk-pagination__item--ellipses') end end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems