Sha256: 482a569dddfe1cb8d146f2da4b01d462ed15942c54f6b95517a7c904a0a0575f

Contents?: true

Size: 521 Bytes

Versions: 87

Compression:

Stored size: 521 Bytes

Contents

module Pageflow
  module Admin
    module FormHelper
      # Using semantic_form_for directly causes Formtastic deprecation
      # warnings regarding `input_class_finder` and
      # `action_class_finder`. `active_admin_form_for` causes issues
      # in `erb` templates (see
      # https://github.com/activeadmin/activeadmin/issues/3916).
      def admin_form_for(resource, options = {}, &block)
        semantic_form_for(resource, options.merge(builder: ActiveAdmin::FormBuilder), &block)
      end
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
pageflow-15.0.0.beta2 app/helpers/pageflow/admin/form_helper.rb
pageflow-15.0.0.beta1 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.3.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.2.1 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.2.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.1.1 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.1.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0.rc2 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0.rc1 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0.beta3 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0.beta2 app/helpers/pageflow/admin/form_helper.rb
pageflow-14.0.0.beta1 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.6.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.5.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.4.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.3.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.2.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-12.6.0 app/helpers/pageflow/admin/form_helper.rb
pageflow-13.1.0 app/helpers/pageflow/admin/form_helper.rb