Members
%span.count= @team.members.count
- - if can? current_user, :admin_user_team, @team
+ - if can? current_user, :manage_user_team, @team
= nav_link(path: 'teams#edit') do
= link_to edit_team_path(@team), class: "stat-tab tab " do
Settings
= link_to 'Projects', '#tab-projects', 'data-toggle' => 'tab'
%li
= link_to 'Edit Team', '#tab-edit', 'data-toggle' => 'tab'
- %li
- = link_to 'Remove', '#tab-remove', 'data-toggle' => 'tab'
+ - if can? current_user, :admin_user_team, @team
+ %li
+ = link_to 'Remove', '#tab-remove', 'data-toggle' => 'tab'
.span9
.tab-content