Sha256: 2af9724076fb815a711789eea34f61be7532782ce7b1db35d5ee066a2659c18c

Contents?: true

Size: 575 Bytes

Versions: 20

Compression:

Stored size: 575 Bytes

Contents

require 'rails_admin/config/fields/base'

module RailsAdmin
  module Config
    module Fields
      module Types
        class Hidden < RailsAdmin::Config::Fields::Base
          RailsAdmin::Config::Fields::Types.register(self)

          register_instance_option :view_helper do
            :hidden_field
          end

          register_instance_option :label do
            false
          end

          register_instance_option :help do
            false
          end

          def generic_help
            false
          end
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rails_admin-1.4.3 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-2.0.0.beta lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.4.2 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.4.1 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.4.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.3.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.2.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.1.1 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.1.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.0.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-1.0.0.rc lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.8.1 lib/rails_admin/config/fields/types/hidden.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.7.0/lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.7.0 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.8 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.7 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.6 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.5 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.4 lib/rails_admin/config/fields/types/hidden.rb
rails_admin-0.6.3 lib/rails_admin/config/fields/types/hidden.rb