To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / wiki / .svn / text-base / destroy.rhtml.svn-base @ 441:cbce1fd3b1b7
History | View | Annotate | Download (908 Bytes)
| 1 |
<h2><%=h @page.pretty_title %></h2> |
|---|---|
| 2 |
|
| 3 |
<% form_tag({}, :method => :delete) do %>
|
| 4 |
<div class="box"> |
| 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 /> |
| 7 |
<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label> |
| 8 |
<% if @reassignable_to.any? %> |
| 9 |
<br /> |
| 10 |
<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>: |
| 11 |
<%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to), |
| 12 |
:onclick => "$('todo_reassign').checked = true;" %>
|
| 13 |
<% end %> |
| 14 |
</p> |
| 15 |
</div> |
| 16 |
|
| 17 |
<%= submit_tag l(:button_apply) %> |
| 18 |
<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %> |
| 19 |
<% end %> |