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

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

diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb
new file mode 100644 (file)
index 0000000..23844ec
--- /dev/null
@@ -0,0 +1,16 @@
+<h2><%=l(:label_confirmation)%></h2>
+<div class="warning">
+<p><strong><%=h @project_to_destroy %></strong><br />
+<%=l(:text_project_destroy_confirmation)%>
+
+<% if @project_to_destroy.descendants.any? %>
+<br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
+<% end %>
+</p>
+<p>
+    <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
+    <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
+    <%= submit_tag l(:button_delete) %>
+    <% end %>
+</p>
+</div>
diff --git a/app/views/projects/destroy.rhtml b/app/views/projects/destroy.rhtml
deleted file mode 100644 (file)
index 23844ec..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<h2><%=l(:label_confirmation)%></h2>
-<div class="warning">
-<p><strong><%=h @project_to_destroy %></strong><br />
-<%=l(:text_project_destroy_confirmation)%>
-
-<% if @project_to_destroy.descendants.any? %>
-<br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
-<% end %>
-</p>
-<p>
-    <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
-    <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
-    <%= submit_tag l(:button_delete) %>
-    <% end %>
-</p>
-</div>