diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index 0a25b125..e347f916 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -72,16 +72,17 @@
%th Users
%th Project Access:
- - @group.users.each do |u|
- %tr{class: "user_#{u.id}"}
- %td.name= link_to u.name, admin_user_path(u)
+ - @group.users.each do |user|
+ - next unless user
+ %tr{class: "user_#{user.id}"}
+ %td.name= link_to user.name, admin_user_path(user)
%td.projects_access
- - u.authorized_projects.in_namespace(@group).each do |project|
- - u_p = u.users_projects.in_project(project).first
+ - user.authorized_projects.in_namespace(@group).each do |project|
+ - u_p = user.users_projects.in_project(project).first
- next unless u_p
%span
- = project.name
- = link_to "(#{ u_p.project_access_human })", edit_admin_team_member_path(u_p)
+ = project.name_with_namespace
+ = link_to "(#{ u_p.project_access_human })", edit_admin_project_member_path(project, user)
%tr
%td.input= select_tag :user_ids, options_from_collection_for_select(@users , :id, :name), multiple: true, data: {placeholder: 'Select users'}, class: 'chosen span5'
%td= select_tag :project_access, options_for_select(Project.access_options), {class: "project-access-select chosen span3"}