Browse Source

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
tags/3.3.0
Jean-Philippe Lang 8 years ago
parent
commit
06dec37f49
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      app/views/queries/edit.html.erb
  2. 1
    1
      app/views/queries/new.html.erb

+ 1
- 1
app/views/queries/edit.html.erb 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 %>

+ 1
- 1
app/views/queries/new.html.erb 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 %>

Loading…
Cancel
Save