From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:23:52 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/projects/copy.rhtml. X-Git-Tag: 1.3.0~964 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c59fe53288c9e9c44beeabe7046067a26e11eedf;p=redmine.git rename .rhtml to .html.erb of app/views/projects/copy.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@6999 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb new file mode 100644 index 000000000..2e7f1eed1 --- /dev/null +++ b/app/views/projects/copy.html.erb @@ -0,0 +1,20 @@ +

<%=l(:label_project_new)%>

+ +<% labelled_tabular_form_for :project, @project, :url => { :action => "copy" } do |f| %> +<%= render :partial => 'form', :locals => { :f => f } %> + +
<%= l(:button_copy) %> + + + + + + + + <%= hidden_field_tag 'only[]', '' %> +
+ +
+ +<%= submit_tag l(:button_copy) %> +<% end %> diff --git a/app/views/projects/copy.rhtml b/app/views/projects/copy.rhtml deleted file mode 100644 index 2e7f1eed1..000000000 --- a/app/views/projects/copy.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -

<%=l(:label_project_new)%>

- -<% labelled_tabular_form_for :project, @project, :url => { :action => "copy" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> - -
<%= l(:button_copy) %> - - - - - - - - <%= hidden_field_tag 'only[]', '' %> -
- -
- -<%= submit_tag l(:button_copy) %> -<% end %>