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

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

diff --git a/app/views/wiki/destroy.html.erb b/app/views/wiki/destroy.html.erb
new file mode 100644 (file)
index 0000000..ff8cf2e
--- /dev/null
@@ -0,0 +1,21 @@
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%=h @page.pretty_title %></h2>
+
+<% form_tag({}, :method => :delete) do %>
+<div class="box">
+<p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
+<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
+<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
+<% if @reassignable_to.any? %>
+<br />
+<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
+<%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
+                                                                                                                                :onclick => "$('todo_reassign').checked = true;" %>
+<% end %>
+</p>
+</div>
+
+<%= submit_tag l(:button_apply) %>
+<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
+<% end %>
diff --git a/app/views/wiki/destroy.rhtml b/app/views/wiki/destroy.rhtml
deleted file mode 100644 (file)
index ff8cf2e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<%= wiki_page_breadcrumb(@page) %>
-
-<h2><%=h @page.pretty_title %></h2>
-
-<% form_tag({}, :method => :delete) do %>
-<div class="box">
-<p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
-<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
-<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
-<% if @reassignable_to.any? %>
-<br />
-<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
-<%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
-                                                                                                                                :onclick => "$('todo_reassign').checked = true;" %>
-<% end %>
-</p>
-</div>
-
-<%= submit_tag l(:button_apply) %>
-<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
-<% end %>