To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / wiki / destroy.html.erb @ 1531:ae8145b28b2b

History | View | Annotate | Download (1.05 KB)

1
<%= wiki_page_breadcrumb(@page) %>
2

    
3
<h2><%=h @page.pretty_title %></h2>
4

    
5
<%= form_tag({}, :method => :delete) do %>
6
<div class="box">
7
<p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
8
<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
9
<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
10
<% if @reassignable_to.any? %>
11
<br />
12
<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
13
<%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %>
14
<%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
15
                                 :onclick => "$('#todo_reassign').attr('checked', true);" %>
16
<% end %>
17
</p>
18
</div>
19

    
20
<%= submit_tag l(:button_apply) %>
21
<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
22
<% end %>