Sha256: ca5669148045cc3d4ea2bc99d7adb048176837c88667869fab29a55219e92e7a

Contents?: true

Size: 225 Bytes

Versions: 13

Compression:

Stored size: 225 Bytes

Contents

ActiveAdmin.register Page do
  show do
    panel "Content" do
      raw page.content
    end
  end

  form do |f|
    f.inputs do
      f.input :content, as: :html_editor
      f.input :title
    end

    f.buttons
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_admin_editor-0.3.6 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.5 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.4 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.3 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.2 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.1 test/dummy/app/admin/pages.rb
active_admin_editor-0.3.0 test/dummy/app/admin/pages.rb
active_admin_editor-0.2.4 test/dummy/app/admin/pages.rb
active_admin_editor-0.2.3 test/dummy/app/admin/pages.rb
active_admin_editor-0.2.2 test/dummy/app/admin/pages.rb
active_admin_editor-0.2.1 test/dummy/app/admin/pages.rb
active_admin_editor-0.2.0 test/dummy/app/admin/pages.rb
active_admin_editor-0.1.0 test/dummy/app/admin/pages.rb