Sha256: 232583e6274fcbcdd4b704413e4f51d04afc5b82ad23f6606bf2bf1196375f90

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

module SimpleFormWithClientValidation
  # 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
    autoload :Errors,       'simple_form_with_client_validation/components/errors'
    autoload :Hints,        'simple_form_with_client_validation/components/hints'
    autoload :HTML5,        'simple_form_with_client_validation/components/html5'
    autoload :LabelInput,   'simple_form_with_client_validation/components/label_input'
    autoload :Labels,       'simple_form_with_client_validation/components/labels'
    autoload :MinMax,       'simple_form_with_client_validation/components/min_max'
    autoload :Maxlength,    'simple_form_with_client_validation/components/maxlength'
    autoload :Minlength,    'simple_form_with_client_validation/components/minlength'
    autoload :Pattern,      'simple_form_with_client_validation/components/pattern'
    autoload :Placeholders, 'simple_form_with_client_validation/components/placeholders'
    autoload :Readonly,     'simple_form_with_client_validation/components/readonly'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_form_with_client_validation-0.0.2 lib/simple_form_with_client_validation/components.rb
simple_form_with_client_validation-0.0.0 lib/simple_form_with_client_validation/components.rb