|
|
@ -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> |
|
|
|