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