%tr#admin_role{:id => admin_role.id}
  %td= admin_role.name

  %td
    -admin_role.admin_permissions.uniq.each do |ap|
      =ap.name
      %br
      
      
  %td.actions
    = link_to i(:"trash-o"), [:admin, admin_role], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet auteur ? ' } , :remote => true
    = link_to i(:pencil), edit_admin_admin_role_path(admin_role), :remote => true

