<%=h @page.pretty_title %>

<% form_tag({}, :method => :delete) do %>

<%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %>


<% if @reassignable_to.any? %>
: <%= label_tag "reassign_to_id", l(:description_wiki_reassign), :class => "hidden-for-sighted" %> <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to), :onclick => "$('todo_reassign').checked = true;" %> <% end %>

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