From: Toshi MARUYAMA Date: Fri, 2 Sep 2011 04:51:01 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/queries/edit.rhtml. X-Git-Tag: 1.3.0~909 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e0aa3756b297a095992b2de38f9c524cc137b2ad;p=redmine.git rename .rhtml to .html.erb of app/views/queries/edit.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7057 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/queries/edit.html.erb b/app/views/queries/edit.html.erb new file mode 100644 index 000000000..1c99ac077 --- /dev/null +++ b/app/views/queries/edit.html.erb @@ -0,0 +1,6 @@ +

<%= l(:label_query) %>

+ +<% form_tag({:action => 'edit', :id => @query}, :onsubmit => 'selectAllOptions("selected_columns");') do %> + <%= render :partial => 'form', :locals => {:query => @query} %> + <%= submit_tag l(:button_save) %> +<% end %> diff --git a/app/views/queries/edit.rhtml b/app/views/queries/edit.rhtml deleted file mode 100644 index 1c99ac077..000000000 --- a/app/views/queries/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%= l(:label_query) %>

- -<% form_tag({:action => 'edit', :id => @query}, :onsubmit => 'selectAllOptions("selected_columns");') do %> - <%= render :partial => 'form', :locals => {:query => @query} %> - <%= submit_tag l(:button_save) %> -<% end %>