1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
heartcombo--simple_form/lib/simple_form/components.rb

21 lines
1.1 KiB
Ruby
Raw Normal View History

module SimpleForm
# Components are a special type of helpers that can work on their own.
# For example, by using a component, it will automatically change the
2011-12-10 12:55:27 -05:00
# output under given circumstances without user input. For example,
# the disabled helper always need a :disabled => true option given
# to the input in order to be enabled. On the other hand, things like
2011-12-10 12:55:27 -05:00
# hints can generate output automatically by doing I18n lookups.
module Components
autoload :Errors, 'simple_form/components/errors'
autoload :Hints, 'simple_form/components/hints'
2011-12-04 10:15:27 -05:00
autoload :HTML5, 'simple_form/components/html5'
autoload :LabelInput, 'simple_form/components/label_input'
autoload :Labels, 'simple_form/components/labels'
2011-12-04 10:31:13 -05:00
autoload :MinMax, 'simple_form/components/min_max'
2011-12-04 07:14:39 -05:00
autoload :Maxlength, 'simple_form/components/maxlength'
2011-12-04 07:40:00 -05:00
autoload :Pattern, 'simple_form/components/pattern'
autoload :Placeholders, 'simple_form/components/placeholders'
2011-12-04 20:41:54 -05:00
autoload :Readonly, 'simple_form/components/readonly'
end
end