Defect #5452 » _members.rhtml.diff
_members.rhtml (working copy) | ||
---|---|---|
5 | 5 |
<div class="splitcontentleft"> |
6 | 6 |
<% if members.any? %> |
7 | 7 |
<table class="list members"> |
8 |
<thead> |
|
8 |
<thead><tr>
|
|
9 | 9 |
<th><%= l(:label_user) %> / <%= l(:label_group) %></th> |
10 | 10 |
<th><%= l(:label_role_plural) %></th> |
11 | 11 |
<th style="width:15%"></th> |
12 | 12 |
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %> |
13 |
</thead> |
|
13 |
</tr></thead>
|
|
14 | 14 |
<tbody> |
15 | 15 |
<% members.each do |member| %> |
16 | 16 |
<% next if member.new_record? %> |
... | ... | |
55 | 55 | |
56 | 56 |
<div class="splitcontentright"> |
57 | 57 |
<% if roles.any? && principals.any? %> |
58 |
<% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post) do |f| %> |
|
58 |
<% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post, :complete => "hideRoles()") do |f| %>
|
|
59 | 59 |
<fieldset><legend><%=l(:label_member_new)%></legend> |
60 | 60 |
|
61 | 61 |
<p><%= text_field_tag 'principal_search', nil %></p> |