Module: GOVUKDesignSystemFormBuilder::Traits::Hint

Instance Method Summary collapse

Instance Method Details

#hint_idObject


4
5
6
7
8
# File 'lib/govuk_design_system_formbuilder/traits/hint.rb', line 4

def hint_id
  return nil if @hint_text.blank?

  build_id('hint')
end