Sha256: f2b2c04fe20de6ad5351e0f081aa5ecc0f5f07cfd862636d26ff4388d8311c93

Contents?: true

Size: 469 Bytes

Versions: 16

Compression:

Stored size: 469 Bytes

Contents

module JqueryUiForm
  # @private
  class Railtie < Rails::Railtie
    initializer 'jquery_ui_form.initialize' do
      ActiveSupport.on_load(:action_view) do
        include JqueryUiForm::Helpers::FormHelper
        include JqueryUiForm::Helpers::ErrorHelper
        # include JqueryUiForm::Helpers::FormRowHelper
        # include JqueryUiForm::Helpers::LabelHelper
      end
      ActionView::Base.field_error_proc = proc { |input, instance| input }
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jquery-ui-form-0.2.8 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.7 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.6 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.5 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.4 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.3 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.2 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.1 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.2.0 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.6 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.5 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.4 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.3 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.2 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.1 lib/jquery_ui_form/railtie.rb
jquery-ui-form-0.1.0 lib/jquery_ui_form/railtie.rb