]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/enumerations/edit.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 24 Aug 2011 07:17:55 +0000 (07:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 24 Aug 2011 07:17:55 +0000 (07:17 +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@6588 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/enumerations/edit.html.erb b/app/views/enumerations/edit.html.erb
new file mode 100644 (file)
index 0000000..5a29255
--- /dev/null
@@ -0,0 +1,10 @@
+<h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> &#187; <%=h @enumeration %></h2>
+
+<% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %>
+  <%= render :partial => 'form' %>
+  <%= submit_tag l(:button_save) %>
+<% end %>
+
+<% form_tag({:action => 'destroy', :id => @enumeration}) do %>
+  <%= submit_tag l(:button_delete) %>
+<% end %>
\ No newline at end of file
diff --git a/app/views/enumerations/edit.rhtml b/app/views/enumerations/edit.rhtml
deleted file mode 100644 (file)
index 5a29255..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> &#187; <%=h @enumeration %></h2>
-
-<% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %>
-  <%= render :partial => 'form' %>
-  <%= submit_tag l(:button_save) %>
-<% end %>
-
-<% form_tag({:action => 'destroy', :id => @enumeration}) do %>
-  <%= submit_tag l(:button_delete) %>
-<% end %>
\ No newline at end of file