##// END OF EJS Templates
Use GET instead of POST on roadmap (#718), gantt and calendar forms....
Jean-Philippe Lang -
r1373:b2abe48592b3
parent child
Show More
@@ -23,7 +23,7
23 23 <% content_for :sidebar do %>
24 24 <h3><%= l(:label_calendar) %></h3>
25 25
26 <% form_tag() do %>
26 <% form_tag({}, :method => :get) do %>
27 27 <p><%= select_month(@month, :prefix => "month", :discard_type => true) %>
28 28 <%= select_year(@year, :prefix => "year", :discard_type => true) %></p>
29 29
@@ -235,7 +235,7 if Date.today >= @date_from and Date.today <= @date_to %>
235 235
236 236 <% content_for :sidebar do %>
237 237 <h3><%= l(:label_gantt) %></h3>
238 <% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil)) do %>
238 <% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil), :method => :get) do %>
239 239 <% @trackers.each do |tracker| %>
240 240 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
241 241 <% end %>
@@ -243,7 +243,7 if Date.today >= @date_from and Date.today <= @date_to %>
243 243 <br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
244 244 <%= hidden_field_tag 'with_subprojects', 0 %>
245 245 <% end %>
246 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
246 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
247 247 <% end %>
248 248 <% end %>
249 249
@@ -30,7 +30,7
30 30 <% end %>
31 31
32 32 <% content_for :sidebar do %>
33 <% form_tag do %>
33 <% form_tag({}, :method => :get) do %>
34 34 <h3><%= l(:label_roadmap) %></h3>
35 35 <% @trackers.each do |tracker| %>
36 36 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %>
@@ -38,7 +38,7
38 38 <% end %>
39 39 <br />
40 40 <label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
41 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
41 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
42 42 <% end %>
43 43
44 44 <h3><%= l(:label_version_plural) %></h3>
General Comments 0
You need to be logged in to leave comments. Login now