Sha256: 4407477ab7337df2d0378365abbb2968d68d0cb95c82f76f07f270c6b6ed3b56

Contents?: true

Size: 436 Bytes

Versions: 8

Compression:

Stored size: 436 Bytes

Contents

module Admin
  module Form
    module Row
      extend ActiveSupport::Concern

      included do
        rails_admin do
          object_label_method do
            :id
          end

          exclude_fields :fields, :viewable, :structure

          list do
            configure :id do
              sort_reverse false
            end

            scopes ::Form::Structure.scopes
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 app/models/admin/form/row.rb
rails_admin_cms-0.0.9 app/models/admin/form/row.rb
rails_admin_cms-0.0.7 app/models/admin/form/row.rb
rails_admin_cms-0.0.6 app/models/admin/form/row.rb
rails_admin_cms-0.0.5 app/models/admin/form/row.rb
rails_admin_cms-0.0.4 app/models/admin/form/row.rb
rails_admin_cms-0.0.3 app/models/admin/form/row.rb
rails_admin_cms-0.0.2 app/models/admin/form/row.rb