annotate .svn/pristine/9b/9b7d0e978d85027fc3c38edae47010ac6e42844a.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

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