您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

destroy.html.erb 1.0KB

12345678910111213141516171819202122
  1. <%= wiki_page_breadcrumb(@page) %>
  2. <h2><%= @page.pretty_title %></h2>
  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. <%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %>
  12. <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
  13. :onclick => "$('#todo_reassign').prop('checked', true);" %>
  14. <% end %>
  15. </p>
  16. </div>
  17. <%= submit_tag l(:button_apply) %>
  18. <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
  19. <% end %>