@@ -16,9 +16,9 | |||||
16 | <% if @page.safe_attribute_names.include?('parent_id') && @wiki.pages.any? %> |
|
16 | <% if @page.safe_attribute_names.include?('parent_id') && @wiki.pages.any? %> | |
17 | <% fields_for @page do |fp| %> |
|
17 | <% fields_for @page do |fp| %> | |
18 | <p> |
|
18 | <p> | |
19 |
|
|
19 | <label><%= l(:field_parent_title) %></label> | |
20 |
|
|
20 | <%= fp.select :parent_id, "<option value=''></option>" + wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent) %> | |
21 | </p> |
|
21 | </p> | |
22 | <% end %> |
|
22 | <% end %> | |
23 | <% end %> |
|
23 | <% end %> | |
24 |
|
24 |
General Comments 0
You need to be logged in to leave comments.
Login now