diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-11 12:55:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-11 12:55:21 +0000 |
commit | e9689f5fe32666b238a1a634d385399bb9a3f025 (patch) | |
tree | db4d367e4afa9bf040df1da39c97c67fca53da0b /app/views/groups | |
parent | d302450731e803db53841ef83cf0ee6611be7d3d (diff) | |
download | redmine-e9689f5fe32666b238a1a634d385399bb9a3f025.tar.gz redmine-e9689f5fe32666b238a1a634d385399bb9a3f025.zip |
Removes duplicate ids (#15485).
git-svn-id: http://svn.redmine.org/redmine/trunk@12657 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/_memberships.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/_memberships.html.erb b/app/views/groups/_memberships.html.erb index b21958e28..777a0df7c 100644 --- a/app/views/groups/_memberships.html.erb +++ b/app/views/groups/_memberships.html.erb @@ -20,7 +20,7 @@ :url => { :action => 'edit_membership', :id => @group, :membership_id => membership }, :html => { :id => "member-#{membership.id}-roles-form", :style => 'display:none;'}) do %> <p><% roles.each do |role| %> - <label><%= check_box_tag 'membership[role_ids][]', role.id, membership.roles.include?(role) %> <%=h role %></label><br /> + <label><%= check_box_tag 'membership[role_ids][]', role.id, membership.roles.include?(role), :id => nil %> <%=h role %></label><br /> <% end %></p> <p><%= submit_tag l(:button_change) %> <%= link_to_function( @@ -56,7 +56,7 @@ <%= select_tag 'membership[project_id]', options_for_membership_project_select(@group, projects) %> <p><%= l(:label_role_plural) %>: <% roles.each do |role| %> - <label><%= check_box_tag 'membership[role_ids][]', role.id %> <%=h role %></label> + <label><%= check_box_tag 'membership[role_ids][]', role.id, false, :id => nil %> <%=h role %></label> <% end %></p> <p><%= submit_tag l(:button_add) %></p> <% end %> |