From: Toshi MARUYAMA Date: Sat, 27 Aug 2011 03:14:45 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/documents/new.rhtml. X-Git-Tag: 1.3.0~1306 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9994348503bc52e641d3e222634a483c30a1522;p=redmine.git rename .rhtml to .html.erb of app/views/documents/new.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@6656 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/new.html.erb b/app/views/documents/new.html.erb new file mode 100644 index 000000000..639b4f292 --- /dev/null +++ b/app/views/documents/new.html.erb @@ -0,0 +1,13 @@ +

<%=l(:label_document_new)%>

+ +<% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %> +<%= render :partial => 'documents/form' %> + +
+

<%= render :partial => 'attachments/form' %>

+
+ +<%= submit_tag l(:button_create) %> +<% end %> + + diff --git a/app/views/documents/new.rhtml b/app/views/documents/new.rhtml deleted file mode 100644 index 639b4f292..000000000 --- a/app/views/documents/new.rhtml +++ /dev/null @@ -1,13 +0,0 @@ -

<%=l(:label_document_new)%>

- -<% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %> -<%= render :partial => 'documents/form' %> - -
-

<%= render :partial => 'attachments/form' %>

-
- -<%= submit_tag l(:button_create) %> -<% end %> - -