Sha256: 111c27a2f3cacc5df6175276b38d2851411b70a46ec2faea296b2a96179534d5

Contents?: true

Size: 752 Bytes

Versions: 3

Compression:

Stored size: 752 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 :Minlength
    autoload :Pattern
    autoload :Placeholders
    autoload :Readonly
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
simple_form-3.5.0 lib/simple_form/components.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simple_form-3.4.0/lib/simple_form/components.rb
simple_form-3.4.0 lib/simple_form/components.rb