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