annotate app/views/wiki/.svn/text-base/destroy.rhtml.svn-base @ 22:40f7cfd4df19
* Update to SVN trunk rev 4173
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Fri, 24 Sep 2010 14:06:04 +0100 |
parents |
513646585e45 |
children |
94944d00e43c |
rev |
line source |
Chris@0
|
1 <h2><%=h @page.pretty_title %></h2>
|
Chris@0
|
2
|
Chris@0
|
3 <% form_tag({}) do %>
|
Chris@0
|
4 <div class="box">
|
Chris@0
|
5 <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
|
Chris@0
|
6 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
|
Chris@0
|
7 <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
|
Chris@0
|
8 <% if @reassignable_to.any? %>
|
Chris@0
|
9 <br />
|
Chris@0
|
10 <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
|
Chris@0
|
11 <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
|
Chris@0
|
12 :onclick => "$('todo_reassign').checked = true;" %>
|
Chris@0
|
13 <% end %>
|
Chris@0
|
14 </p>
|
Chris@0
|
15 </div>
|
Chris@0
|
16
|
Chris@0
|
17 <%= submit_tag l(:button_apply) %>
|
Chris@0
|
18 <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'index', :id => @project, :page => @page.title %>
|
Chris@0
|
19 <% end %>
|