annotate app/views/wiki/destroy.html.erb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 433d4f72a19b
children
rev   line source
Chris@909 1 <%= wiki_page_breadcrumb(@page) %>
Chris@909 2
Chris@0 3 <h2><%=h @page.pretty_title %></h2>
Chris@0 4
Chris@1115 5 <%= form_tag({}, :method => :delete) do %>
Chris@0 6 <div class="box">
Chris@0 7 <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
Chris@0 8 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
Chris@0 9 <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
Chris@0 10 <% if @reassignable_to.any? %>
Chris@0 11 <br />
Chris@0 12 <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
Chris@909 13 <%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %>
Chris@0 14 <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
Chris@1115 15 :onclick => "$('#todo_reassign').attr('checked', true);" %>
Chris@0 16 <% end %>
Chris@0 17 </p>
Chris@0 18 </div>
Chris@0 19
Chris@0 20 <%= submit_tag l(:button_apply) %>
chris@37 21 <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
Chris@0 22 <% end %>