2011-09-03 10:00:23 +00:00
|
|
|
module SimpleForm
|
2011-12-04 13:57:12 +00:00
|
|
|
# Helpers are made of several helpers that cannot be turned on automatically.
|
|
|
|
# For instance, disabled cannot be turned on automatically, it requires the
|
2013-01-28 21:02:59 +00:00
|
|
|
# user to explicitly pass the option disabled: true so it may work.
|
2011-09-03 10:00:23 +00:00
|
|
|
module Helpers
|
2011-12-04 13:57:12 +00:00
|
|
|
autoload :Autofocus, 'simple_form/helpers/autofocus'
|
|
|
|
autoload :Disabled, 'simple_form/helpers/disabled'
|
|
|
|
autoload :Readonly, 'simple_form/helpers/readonly'
|
2011-09-03 10:00:23 +00:00
|
|
|
autoload :Required, 'simple_form/helpers/required'
|
2011-12-04 12:00:39 +00:00
|
|
|
autoload :Validators, 'simple_form/helpers/validators'
|
2011-09-03 10:00:23 +00:00
|
|
|
end
|
|
|
|
end
|