app/views/projects/collaborators.html.erb
<% add :about, "Contacts for project." -%>
<% add :back_menu, I18n.t("navigation.menu.back_to_project") => project_path(@project) -%>
<% if can? :edit, @project %>
<% add :menu, "Edit" => edit_project_path(@project) -%>
<% end %>
<div class="page-header"><h1><%= @project.name %> : Contacts</h1></div>
<div class='subtitle'>
Project <%= @project.id %> · Created on <%= @project.created_at.to_formatted_s(:long) %> · <%= @project.state.capitalize %>
</div>
<div id="role_list">
<!-- renders all roles on this project -->
<%= render partial: "roles" -%>
</div>
<% if can? :create, Role -%>
<hr>
<!-- renders all available roles with all users form -->
<div style="text-align:center">
<h3 id="add_new_role">Assign roles to users</h3>
<%= render partial: "role" -%>
</div>
<% end -%>