mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 20:15:54 +02:00
Adds (un)check all buttons to select all projects (#11702).
git-svn-id: http://svn.redmine.org/redmine/trunk@13537 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<fieldset class="box">
|
||||
<legend><%= l(:label_project_plural) %></legend>
|
||||
<legend><%= l(:label_project_plural) %> <%= toggle_checkboxes_link('.projects-selection input:enabled') %></legend>
|
||||
<div style="max-height:300px; overflow:auto;">
|
||||
<div class="projects-selection">
|
||||
<%= render_project_nested_lists(@projects) do |p| %>
|
||||
@@ -12,11 +12,13 @@
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="box">
|
||||
<legend><%= l(:label_role_plural) %></legend>
|
||||
<legend><%= l(:label_role_plural) %> <%= toggle_checkboxes_link('.roles-selection input') %></legend>
|
||||
<div class="roles-selection">
|
||||
<% @roles.each do |role| %>
|
||||
<label class="inline">
|
||||
<label>
|
||||
<%= check_box_tag 'membership[role_ids][]', role.id, false, :id => nil %>
|
||||
<%=h role %>
|
||||
<%= role %>
|
||||
</label>
|
||||
<% end %>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user