]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/projects/_edit.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:25:34 +0000 (13:25 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:25:34 +0000 (13:25 +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@7001 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/projects/_edit.html.erb b/app/views/projects/_edit.html.erb
new file mode 100644 (file)
index 0000000..2ecc822
--- /dev/null
@@ -0,0 +1,4 @@
+<% labelled_tabular_form_for :project, @project, :url => project_path(@project), :html => {:method => (@project.new_record? ? :post : :put) } do |f| %>
+<%= render :partial => 'form', :locals => { :f => f } %>
+<%= submit_tag l(:button_save) %>
+<% end %>
diff --git a/app/views/projects/_edit.rhtml b/app/views/projects/_edit.rhtml
deleted file mode 100644 (file)
index 2ecc822..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<% labelled_tabular_form_for :project, @project, :url => project_path(@project), :html => {:method => (@project.new_record? ? :post : :put) } do |f| %>
-<%= render :partial => 'form', :locals => { :f => f } %>
-<%= submit_tag l(:button_save) %>
-<% end %>