]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/documents/new.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:14:45 +0000 (03:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:14:45 +0000 (03:14 +0000)
: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

app/views/documents/new.html.erb [new file with mode: 0644]
app/views/documents/new.rhtml [deleted file]

diff --git a/app/views/documents/new.html.erb b/app/views/documents/new.html.erb
new file mode 100644 (file)
index 0000000..639b4f2
--- /dev/null
@@ -0,0 +1,13 @@
+<h2><%=l(:label_document_new)%></h2>
+
+<% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %>
+<%= render :partial => 'documents/form' %>
+
+<div class="box">
+<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
+</div>
+
+<%= submit_tag l(:button_create) %>
+<% end %>
+
+
diff --git a/app/views/documents/new.rhtml b/app/views/documents/new.rhtml
deleted file mode 100644 (file)
index 639b4f2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<h2><%=l(:label_document_new)%></h2>
-
-<% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %>
-<%= render :partial => 'documents/form' %>
-
-<div class="box">
-<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
-</div>
-
-<%= submit_tag l(:button_create) %>
-<% end %>
-
-