To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / wiki / destroy.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (1.04 KB)
| 1 | 909:cbb26bc654de | Chris | <%= wiki_page_breadcrumb(@page) %>
|
|---|---|---|---|
| 2 | |||
| 3 | 0:513646585e45 | Chris | <h2><%=h @page.pretty_title %></h2> |
| 4 | |||
| 5 | 37:94944d00e43c | chris | <% form_tag({}, :method => :delete) do %>
|
| 6 | 0:513646585e45 | Chris | <div class="box"> |
| 7 | <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p> |
||
| 8 | <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br /> |
||
| 9 | <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label> |
||
| 10 | <% if @reassignable_to.any? %>
|
||
| 11 | <br /> |
||
| 12 | <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>: |
||
| 13 | 909:cbb26bc654de | Chris | <%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %>
|
| 14 | 0:513646585e45 | Chris | <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
|
| 15 | 909:cbb26bc654de | Chris | :onclick => "$('todo_reassign').checked = true;" %>
|
| 16 | 0:513646585e45 | Chris | <% end %>
|
| 17 | </p>
|
||
| 18 | </div>
|
||
| 19 | |||
| 20 | <%= submit_tag l(:button_apply) %>
|
||
| 21 | 37:94944d00e43c | chris | <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
|
| 22 | 0:513646585e45 | Chris | <% end %> |