agenda-libre-ruby/app/admin/user.rb

15 lines
272 B
Ruby
Raw Normal View History

ActiveAdmin.register User do
2014-07-18 17:01:51 +02:00
permit_params :login, :password, :email, :lastname, :firstname
2014-07-18 17:01:51 +02:00
form do |f|
f.inputs do
f.input :login
f.input :lastname
f.input :firstname
f.input :email
f.input :password
end
f.actions
end
end