Sha256: 61c1c1ba4d142b934650f0f1ee156e2077645199eb314883e25689e881dd246f

Contents?: true

Size: 264 Bytes

Versions: 9

Compression:

Stored size: 264 Bytes

Contents

module Admin
  module Viewable
    module Text
      extend ActiveSupport::Concern

      included do
        rails_admin do
          visible false

          field :title
          field :text, :rich_editor, scoped: 'cms'
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.9 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.7 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.6 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.5 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.4 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.3 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.2 app/models/admin/viewable/text.rb
rails_admin_cms-0.0.1 app/models/admin/viewable/text.rb