Module: GOVUKDesignSystemFormBuilder::Traits::Error

Instance Method Summary collapse

Instance Method Details

#error_idObject



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

def error_id
  return unless has_errors?

  build_id('error')
end