Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15261
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<h2><%= l(:label_query) %></h2>
-<%= form_tag(query_path(@query), :method => :put) do %>
+<%= form_tag(query_path(@query), :method => :put, :id => "query-form") do %>
<%= render :partial => 'form', :locals => {:query => @query} %>
<%= submit_tag l(:button_save) %>
<% end %>
<h2><%= l(:label_query_new) %></h2>
-<%= form_tag(@project ? project_queries_path(@project) : queries_path) do %>
+<%= form_tag(@project ? project_queries_path(@project) : queries_path, :id => "query-form") do %>
<%= render :partial => 'form', :locals => {:query => @query} %>
<%= submit_tag l(:button_save) %>
<% end %>