<%= l(:label_invite_trustie_user) %>
<% if roles.any? %>
<%= form_for(@member, {:as => :membership, :url => project_memberships_path(@project), :method => :post}) do |f| %>
>
搜索
<%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript autocomplete_project_memberships_path(@project, :format => 'js',:flag => true) }')" %>
<%= render_project_members(@project) %>
-
<%= l(:label_role_plural) %>:
<% roles.each do |role| %>
-
<%= check_box_tag 'membership[role_ids][]', role.id %>
<%= h role %>
<% end %>
<%= l(:label_invite_members)%>
<% end %>
<% end %>