95bd93fe1a
Uses TeamMembers#index instead, to be more RESTful
14 lines
477 B
Plaintext
14 lines
477 B
Plaintext
= render "projects/project_head"
|
|
%h3.page_title
|
|
Team Members
|
|
%small (#{@project.users_projects.count})
|
|
|
|
- if can? current_user, :admin_team_member, @project
|
|
%p.slead
|
|
= link_to new_project_team_member_path(@project), class: "btn small right", title: "New Team Member" do
|
|
New Team Member
|
|
Read more about project permissions
|
|
%strong= link_to "here", help_permissions_path, class: "vlink"
|
|
|
|
= render partial: "team_members/team", locals: {project: @project}
|