Module: GOVUKDesignSystemFormBuilder::Traits::Supplemental
- Included in:
- Elements::CheckBoxes::Collection, Elements::CollectionSelect, Elements::Date, Elements::File, Elements::Inputs::Email, Elements::Inputs::Number, Elements::Inputs::Phone, Elements::Inputs::Text, Elements::Inputs::URL, Elements::Radios::Collection, Elements::TextArea
- Defined in:
- lib/govuk_design_system_formbuilder/traits/supplemental.rb
Instance Method Summary collapse
Instance Method Details
#supplemental_id ⇒ Object
4 5 6 7 8 |
# File 'lib/govuk_design_system_formbuilder/traits/supplemental.rb', line 4 def supplemental_id return if @block_content.blank? build_id('supplemental') end |