diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-23 13:45:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-23 13:45:24 +0000 |
commit | 1e0045e69bb5ae0787d207fa9b65163231b737b7 (patch) | |
tree | 080f0c4fd01cc79402ed053fb67e862bb5836364 /app/views/projects | |
parent | e0a034164f3409336f686cfa381da8a5db15c40e (diff) | |
download | redmine-1e0045e69bb5ae0787d207fa9b65163231b737b7.tar.gz redmine-1e0045e69bb5ae0787d207fa9b65163231b737b7.zip |
Removed duplicate element ids.
git-svn-id: http://svn.redmine.org/redmine/trunk@13644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/copy.html.erb | 14 | ||||
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb index 26ec2e5a6..505ef331b 100644 --- a/app/views/projects/copy.html.erb +++ b/app/views/projects/copy.html.erb @@ -4,13 +4,13 @@ <%= render :partial => 'form', :locals => { :f => f } %> <fieldset class="box tabular"><legend><%= l(:button_copy) %></legend> - <label class="block"><%= check_box_tag 'only[]', 'members', true %> <%= l(:label_member_plural) %> (<%= @source_project.members.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'versions', true %> <%= l(:label_version_plural) %> (<%= @source_project.versions.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'issue_categories', true %> <%= l(:label_issue_category_plural) %> (<%= @source_project.issue_categories.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'issues', true %> <%= l(:label_issue_plural) %> (<%= @source_project.issues.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'queries', true %> <%= l(:label_query_plural) %> (<%= @source_project.queries.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'boards', true %> <%= l(:label_board_plural) %> (<%= @source_project.boards.count %>)</label> - <label class="block"><%= check_box_tag 'only[]', 'wiki', true %> <%= l(:label_wiki_page_plural) %> (<%= @source_project.wiki.nil? ? 0 : @source_project.wiki.pages.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'members', true, :id => nil %> <%= l(:label_member_plural) %> (<%= @source_project.members.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'versions', true, :id => nil %> <%= l(:label_version_plural) %> (<%= @source_project.versions.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'issue_categories', true, :id => nil %> <%= l(:label_issue_category_plural) %> (<%= @source_project.issue_categories.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'issues', true, :id => nil %> <%= l(:label_issue_plural) %> (<%= @source_project.issues.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'queries', true, :id => nil %> <%= l(:label_query_plural) %> (<%= @source_project.queries.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'boards', true, :id => nil %> <%= l(:label_board_plural) %> (<%= @source_project.boards.count %>)</label> + <label class="block"><%= check_box_tag 'only[]', 'wiki', true, :id => nil %> <%= l(:label_wiki_page_plural) %> (<%= @source_project.wiki.nil? ? 0 : @source_project.wiki.pages.count %>)</label> <%= hidden_field_tag 'only[]', '' %> <br /> <label class="block"><%= check_box_tag 'notifications', 1, params[:notifications] %> <%= l(:label_project_copy_notifications) %></label> diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index 569684a58..63a4bfba0 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -38,7 +38,7 @@ </label><br /> <% end %> </p> - <%= hidden_field_tag 'membership[role_ids][]', '' %> + <%= hidden_field_tag 'membership[role_ids][]', '', :id => nil %> <p> <%= submit_tag l(:button_save), :class => "small" %> <%= link_to_function(l(:button_cancel), |