Module: GOVUKDesignSystemFormBuilder::Traits::Hint
- Included in:
- Containers::CheckBoxesFieldset, Containers::RadioButtonsFieldset, Containers::Radios, Elements::CheckBoxes::Collection, Elements::CheckBoxes::CollectionCheckBox, Elements::CheckBoxes::FieldsetCheckBox, Elements::CollectionSelect, Elements::Date, Elements::File, Elements::Inputs::Email, Elements::Inputs::Number, Elements::Inputs::Phone, Elements::Inputs::Text, Elements::Inputs::URL, Elements::Password, Elements::Radios::Collection, Elements::Radios::CollectionRadioButton, Elements::Radios::FieldsetRadioButton, Elements::Select, Elements::TextArea
- Defined in:
- lib/govuk_design_system_formbuilder/traits/hint.rb
Instance Method Summary collapse
Instance Method Details
#hint_id ⇒ Object
4 5 6 7 8 |
# File 'lib/govuk_design_system_formbuilder/traits/hint.rb', line 4 def hint_id return unless hint_element.active? build_id('hint') end |