Sha256: b843c6dfa598ba83b38c7e1c2402830b30ab13a5d89c41e974efa2fb20f0703c

Contents?: true

Size: 325 Bytes

Versions: 16

Compression:

Stored size: 325 Bytes

Contents

module ActiveAdmin
  module ViewHelpers
    module FormHelper
      
      def active_admin_form_for(resource, options = {}, &block)
        options = Marshal.load( Marshal.dump(options) )
        options[:builder] ||= ActiveAdmin::FormBuilder
        semantic_form_for resource, options, &block
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
activeadmin-0.4.4 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.4.3 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.4.2 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.4.1 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.4.0 lib/active_admin/view_helpers/form_helper.rb
andrewroth_activeadmin-0.3.4.4 lib/active_admin/view_helpers/form_helper.rb
andrewroth_activeadmin-0.3.4.3 lib/active_admin/view_helpers/form_helper.rb
andrewroth_activeadmin-0.3.4.2 lib/active_admin/view_helpers/form_helper.rb
andrewroth_activeadmin-0.3.4.1 lib/active_admin/view_helpers/form_helper.rb
andrewroth_activeadmin-0.3.4 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.3.4 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.3.3 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.3.2 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.3.1 lib/active_admin/view_helpers/form_helper.rb
activeadmin-0.3.0 lib/active_admin/view_helpers/form_helper.rb
nsm-activeadmin-0.2.2 lib/active_admin/view_helpers/form_helper.rb