Sha256: d0a7b33beafb344c30e962e37f747d8210d9ead7f5ca7f9f42b10bc26646074b

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 Bytes

Contents

ActiveAdmin.register Kinney::Person do
  index do
    column :first_name
    column :last_name
    default_actions
  end
  
  form do |f|
    f.inputs :first_name, :middle_name, :last_name, :name_suffix, :nickname, :graduating_class, :location
    f.inputs do
      f.input :biography, :as => :ckeditor
      f.input :accomplishments, :as => :ckeditor
      f.input :activities, :as => :ckeditor
      f.input :currently, :as => :ckeditor
      f.input :citations, :as => :ckeditor
      f.input :term, :as => :ckeditor
      f.input :term_date_ranges, :as => :ckeditor
    end
    
    f.actions
  end
  
  controller do
    cache_sweeper Kinney::MetaSweeper
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kinney-0.0.3 app/admin/people.rb
kinney-0.0.2 app/admin/people.rb
kinney-0.0.1 app/admin/people.rb