You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
492 B
28 lines
492 B
3 years ago
|
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 do
|
||
|
f.input :email
|
||
|
f.input :password
|
||
|
f.input :password_confirmation
|
||
|
end
|
||
|
f.actions
|
||
|
end
|
||
|
end
|