Sha256: 5d50f2102bf915ba4a1f039fda4e04c0cf4e8f670c102d04880d466ef48ccd2b

Contents?: true

Size: 509 Bytes

Versions: 11

Compression:

Stored size: 509 Bytes

Contents

ActiveAdmin.register AdminUser do
  permit_params :email, :password, :password_confirmation

  index do
    selectable_column
    id_column
    column :email
    column :current_sign_in_at
    column :sign_in_count
    column :created_at
    actions
  end

  filter :email
  filter :current_sign_in_at
  filter :sign_in_count
  filter :created_at

  form do |f|
    f.inputs "Admin Details" do
      f.input :email
      f.input :password
      f.input :password_confirmation
    end
    f.actions
  end

end

Version data entries

11 entries across 11 versions & 5 rubygems

Version Path
activeadmin-nested-namespaces-0.1.2 dummy_app/app/admin/admin_users.rb
activeadmin-nested-namespaces-0.1.1 dummy_app/app/admin/admin_users.rb
activeadmin-nested-namespaces-0.1.0 dummy_app/app/admin/admin_users.rb
admin_invitable-0.1.0 spec/dummy/app/admin/admin_users.rb
activeadmin_custom_layout-0.1.0 test/dummy/app/admin/admin_user.rb
woodlock-0.0.1 app/admin/admin_users.rb
admin_invitable-0.0.3 spec/dummy/app/admin/admin_user.rb
admin_invitable-0.0.2 spec/dummy/app/admin/admin_user.rb
admin_invitable-0.0.1 spec/dummy/app/admin/admin_user.rb
active_admin_jcrop-0.0.3 test/dummy/app/admin/admin_user.rb
active_admin_jcrop-0.0.2.alpha test/dummy/app/admin/admin_user.rb