bigdir/app/views/queries/new.html.erb

7 lines
280 B
Plaintext

<h3><%= l(:label_query_new) %></h3>
<%= form_tag(@project ? project_queries_path(@project) : queries_path, :onsubmit => 'selectAllOptions("selected_columns");') do %>
<%= render :partial => 'form', :locals => {:query => @query} %>
<%= submit_tag l(:button_save) %>
<% end %>