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

25 lines
782 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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,
2013-01-28 16:02:59 -05:00
# 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
extend ActiveSupport::Autoload
autoload :Errors
autoload :Hints
autoload :HTML5
autoload :LabelInput
autoload :Labels
autoload :MinMax
autoload :Maxlength
autoload :Minlength
autoload :Pattern
autoload :Placeholders
autoload :Readonly
end
end