]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/documents/edit.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:15:32 +0000 (03:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:15:32 +0000 (03:15 +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@6657 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/documents/edit.html.erb b/app/views/documents/edit.html.erb
new file mode 100644 (file)
index 0000000..0b9f31f
--- /dev/null
@@ -0,0 +1,8 @@
+<h2><%=l(:label_document)%></h2>
+
+<% form_tag({:action => 'edit', :id => @document}, :class => "tabular") do %>
+  <%= render :partial => 'form' %>
+  <%= submit_tag l(:button_save) %>
+<% end %>
+
+
diff --git a/app/views/documents/edit.rhtml b/app/views/documents/edit.rhtml
deleted file mode 100644 (file)
index 0b9f31f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h2><%=l(:label_document)%></h2>
-
-<% form_tag({:action => 'edit', :id => @document}, :class => "tabular") do %>
-  <%= render :partial => 'form' %>
-  <%= submit_tag l(:button_save) %>
-<% end %>
-
-