<%= submit_tag l(:button_save), :class => "small" %>
<%= link_to_function(l(:button_cancel),
diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erb
index 695c42ccb..d9c2d5d96 100644
--- a/app/views/repositories/committers.html.erb
+++ b/app/views/repositories/committers.html.erb
@@ -20,7 +20,7 @@
| <%=h committer %> |
- <%= hidden_field_tag "committers[#{i}][]", committer %>
+ <%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %>
<%= select_tag "committers[#{i}][]",
content_tag(
'option',
diff --git a/app/views/settings/_repositories.html.erb b/app/views/settings/_repositories.html.erb
index f54c219ac..b3c5b1b16 100644
--- a/app/views/settings/_repositories.html.erb
+++ b/app/views/settings/_repositories.html.erb
@@ -96,12 +96,13 @@
options_for_select(
[[l(:label_all), ""]] +
Tracker.sorted.map {|t| [t.name, t.id.to_s]},
- rule['if_tracker_id'])
+ rule['if_tracker_id']),
+ :id => nil
) %>
|
<%= text_field_tag("settings[commit_update_keywords][keywords][]",
- rule['keywords'], :size => 30) %>
+ rule['keywords'], :id => nil, :size => 30) %>
|
<%= select_tag("settings[commit_update_keywords][status_id][]",
@@ -109,7 +110,8 @@
[["", 0]] +
IssueStatus.sorted.
collect{|status| [status.name, status.id.to_s]},
- rule['status_id'])
+ rule['status_id']),
+ :id => nil
) %>
|
@@ -117,7 +119,8 @@
options_for_select(
[["", ""]] +
(0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] },
- rule['done_ratio'])
+ rule['done_ratio']),
+ :id => nil
) %>
|
diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb
index a34a9afc1..8f6c674c7 100644
--- a/app/views/timelog/bulk_edit.html.erb
+++ b/app/views/timelog/bulk_edit.html.erb
@@ -8,7 +8,7 @@
<%= form_tag(bulk_update_time_entries_path, :id => 'bulk_edit_form') do %>
-<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join.html_safe %>
+<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id, :id => nil)}.join.html_safe %>
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index 85442bd76..b4b485587 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -56,7 +56,7 @@
<% if @project.descendants.active.any? %>
- <%= hidden_field_tag 'with_subprojects', 0 %>
+ <%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
diff --git a/app/views/workflows/edit.html.erb b/app/views/workflows/edit.html.erb
index 19b409357..e2a7f5810 100644
--- a/app/views/workflows/edit.html.erb
+++ b/app/views/workflows/edit.html.erb
@@ -25,7 +25,7 @@
<%= submit_tag l(:button_edit), :name => nil %>
- <%= hidden_field_tag 'used_statuses_only', '0' %>
+ <%= hidden_field_tag 'used_statuses_only', '0', :id => nil %>
@@ -33,9 +33,9 @@
<% if @trackers && @roles && @statuses.any? %>
<%= form_tag({}, :id => 'workflow_form' ) do %>
- <%= @trackers.map {|tracker| hidden_field_tag 'tracker_id[]', tracker.id}.join.html_safe %>
- <%= @roles.map {|role| hidden_field_tag 'role_id[]', role.id}.join.html_safe %>
- <%= hidden_field_tag 'used_statuses_only', params[:used_statuses_only] %>
+ <%= @trackers.map {|tracker| hidden_field_tag 'tracker_id[]', tracker.id, :id => nil}.join.html_safe %>
+ <%= @roles.map {|role| hidden_field_tag 'role_id[]', role.id, :id => nil}.join.html_safe %>
+ <%= hidden_field_tag 'used_statuses_only', params[:used_statuses_only], :id => nil %>
|