@@ -1,21 +1,21 | |||||
1 | <%= wiki_page_breadcrumb(@page) %> |
|
1 | <%= wiki_page_breadcrumb(@page) %> | |
2 |
|
2 | |||
3 | <h2><%=h @page.pretty_title %></h2> |
|
3 | <h2><%=h @page.pretty_title %></h2> | |
4 |
|
4 | |||
5 | <% form_tag({}, :method => :delete) do %> |
|
5 | <% form_tag({}, :method => :delete) do %> | |
6 | <div class="box"> |
|
6 | <div class="box"> | |
7 | <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p> |
|
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 /> |
|
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> |
|
9 | <label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label> | |
10 | <% if @reassignable_to.any? %> |
|
10 | <% if @reassignable_to.any? %> | |
11 | <br /> |
|
11 | <br /> | |
12 | <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>: |
|
12 | <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>: | |
13 | <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to), |
|
13 | <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to), | |
14 |
|
|
14 | :onclick => "$('todo_reassign').checked = true;" %> | |
15 | <% end %> |
|
15 | <% end %> | |
16 | </p> |
|
16 | </p> | |
17 | </div> |
|
17 | </div> | |
18 |
|
18 | |||
19 | <%= submit_tag l(:button_apply) %> |
|
19 | <%= submit_tag l(:button_apply) %> | |
20 | <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %> |
|
20 | <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %> | |
21 | <% end %> |
|
21 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now