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

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

diff --git a/app/views/enumerations/destroy.html.erb b/app/views/enumerations/destroy.html.erb
new file mode 100644 (file)
index 0000000..657df83
--- /dev/null
@@ -0,0 +1,12 @@
+<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
+
+<% form_tag({}) do %>
+<div class="box">
+<p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
+<p><%= l(:text_enumeration_category_reassign_to) %>
+<%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
+</div>
+
+<%= submit_tag l(:button_apply) %>
+<%= link_to l(:button_cancel), :controller => 'enumerations', :action => 'index' %>
+<% end %>
diff --git a/app/views/enumerations/destroy.rhtml b/app/views/enumerations/destroy.rhtml
deleted file mode 100644 (file)
index 657df83..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
-
-<% form_tag({}) do %>
-<div class="box">
-<p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
-<p><%= l(:text_enumeration_category_reassign_to) %>
-<%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
-</div>
-
-<%= submit_tag l(:button_apply) %>
-<%= link_to l(:button_cancel), :controller => 'enumerations', :action => 'index' %>
-<% end %>