diff --git a/app/admin/users.rb b/app/admin/users.rb index b94d78b..b220a19 100644 --- a/app/admin/users.rb +++ b/app/admin/users.rb @@ -34,6 +34,20 @@ ActiveAdmin.register User do actions end + show do + attributes_table do + row :name + row :email + row :roles do |user| + user.roles.map { |role| role.text }.join(', ') + end + row :created_at + row :updated_at + row :deleted_at + end + active_admin_comments + end + filter :email filter :name filter :created_at diff --git a/config/locales/defaults/pt-BR.yml b/config/locales/defaults/pt-BR.yml index 8ca3ed3..f45f5b2 100644 --- a/config/locales/defaults/pt-BR.yml +++ b/config/locales/defaults/pt-BR.yml @@ -2,4 +2,4 @@ pt-BR: attributes: created_at: Criado em updated_at: Atualizado em - deleted_at: Deletado em \ No newline at end of file + deleted_at: ExcluĂ­do em \ No newline at end of file