comparison app/views/wiki/.svn/text-base/destroy.rhtml.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
1 <h2><%=h @page.pretty_title %></h2> 1 <h2><%=h @page.pretty_title %></h2>
2 2
3 <% form_tag({}) do %> 3 <% form_tag({}, :method => :delete) do %>
4 <div class="box"> 4 <div class="box">
5 <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p> 5 <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
6 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br /> 6 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
7 <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label> 7 <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
8 <% if @reassignable_to.any? %> 8 <% if @reassignable_to.any? %>
13 <% end %> 13 <% end %>
14 </p> 14 </p>
15 </div> 15 </div>
16 16
17 <%= submit_tag l(:button_apply) %> 17 <%= submit_tag l(:button_apply) %>
18 <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'index', :id => @project, :page => @page.title %> 18 <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
19 <% end %> 19 <% end %>