Module SimpleForm::ActionViewExtensions::FormHelper
In: lib/simple_form/action_view_extensions/form_helper.rb

This module creates SimpleForm wrappers around default form_for and fields_for.

Example:

  simple_form_for @user do |f|
    f.input :name, :hint => 'My hint'
  end

Constants

FIELD_ERROR_PROC = proc do |html_tag, instance_tag| html_tag   Override the default ActiveRecordHelper behaviour of wrapping the input. This gets taken care of semantically by adding an error class to the wrapper tag containing the input.

[Validate]