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