@@ -22,7 +22,8 | |||
|
22 | 22 | <label><%= l(:field_parent_title) %></label> |
|
23 | 23 | <%= fp.select :parent_id, |
|
24 | 24 | content_tag('option', '', :value => '') + |
|
25 |
wiki_page_options_for_select( |
|
|
25 | wiki_page_options_for_select( | |
|
26 | @wiki.pages.includes(:parent).all - | |
|
26 | 27 | @page.self_and_descendants, @page.parent) %> |
|
27 | 28 | </p> |
|
28 | 29 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now