summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-01-11 12:55:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-01-11 12:55:21 +0000
commite9689f5fe32666b238a1a634d385399bb9a3f025 (patch)
treedb4d367e4afa9bf040df1da39c97c67fca53da0b /app/views/roles
parentd302450731e803db53841ef83cf0ee6611be7d3d (diff)
downloadredmine-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/roles')
-rw-r--r--app/views/roles/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erb
index d028c2f1c..e3c32ee84 100644
--- a/app/views/roles/_form.html.erb
+++ b/app/views/roles/_form.html.erb
@@ -21,7 +21,7 @@
<fieldset><legend><%= mod.blank? ? l(:label_project) : l_or_humanize(mod, :prefix => 'project_module_') %></legend>
<% perms_by_module[mod].each do |permission| %>
<label class="floating">
- <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name) %>
+ <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name), :id => nil %>
<%= l_or_humanize(permission.name, :prefix => 'permission_') %>
</label>
<% end %>