1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

Add id to query create and edit form to ease theme (#22277).

Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@15261 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-03-19 09:30:43 +00:00
parent a3e2fa176c
commit 06dec37f49
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<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 %>

View File

@ -1,6 +1,6 @@
<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 %>