used code is no display email and label
form do |f|
f.inputs "Admin users" do
f.collection_select :role, AdminUser::ROLES, to_s, humanize, :label => "permissions"
I think you have the wrong project. I don't see anything specific to cancan in that code. Closing for now. Please let me know if I'm mistaken.
use activeadmin and cancan the code https://github.com/ryanb/cancan/wiki/Role-Based-Authorization not working in activeadmin ?
I don't believe we have enough information, can you verify a few things?
if you type AdminUser::ROLES in the console, what does it output?
It looks like your trying to use formtastic? did you try semantic_form_for @user do |f|