Adds missing fieldsets to project member settings

pull/882/head
Hagen Schink 11 years ago committed by Till Breuer
parent 1b353714a0
commit 40b47a372b
  1. 10
      app/views/members/_autocomplete_for_member.html.erb

@ -37,20 +37,22 @@ See doc/COPYRIGHT.rdoc for more details.
</div> </div>
</div> </div>
<% else %> <% else %>
<p> <fieldset>
<%= "#{l(:label_user_plural)}/#{l(:label_group_plural)}" %>: <legend><%= "#{l(:label_user_plural)}/#{l(:label_group_plural)}" %></legend>
<%= principals_check_box_tags 'member[user_ids][]', principals %> <%= principals_check_box_tags 'member[user_ids][]', principals %>
</p> </p>
</fieldset>
</div> </div>
<div class="roles splitcontentright"> <div class="roles splitcontentright">
<p><%= l(:label_role_plural) %>: <fieldset>
<legend><%= l(:label_role_plural) %></legend>
<% roles.each do |role| %> <% roles.each do |role| %>
<div> <div>
<label><%= check_box_tag 'member[role_ids][]', role.id %> <%=h role %></label> <label><%= check_box_tag 'member[role_ids][]', role.id %> <%=h role %></label>
</div> </div>
<% end %> <% end %>
</p> </fieldset>
</div> </div>
</div> </div>
<p><%= submit_tag l(:button_add), :id => 'member-add-submit' %></p> <p><%= submit_tag l(:button_add), :id => 'member-add-submit' %></p>

Loading…
Cancel
Save