Sha256: b1056ffd10bb22830b2c347859469a60e3e2bc89a28c12596dff2bab06e8ac98

Contents?: true

Size: 731 Bytes

Versions: 4

Compression:

Stored size: 731 Bytes

Contents

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
  # 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
  # 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 :Pattern
    autoload :Placeholders
    autoload :Readonly
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_form-2.1.3 lib/simple_form/components.rb
simple_form-2.1.2 lib/simple_form/components.rb
simple_form-2.1.1 lib/simple_form/components.rb
simple_form-2.1.0 lib/simple_form/components.rb