##// END OF EJS Templates
cleanup syntax of Relation#all at app/views/wiki/rename.html.erb...
Toshi MARUYAMA -
r12316:f7a1664399f4
parent child
Show More
@@ -13,7 +13,7
13 <p><%= f.select :parent_id,
13 <p><%= f.select :parent_id,
14 content_tag('option', '', :value => '') +
14 content_tag('option', '', :value => '') +
15 wiki_page_options_for_select(
15 wiki_page_options_for_select(
16 @wiki.pages.all(:include => :parent) - @page.self_and_descendants,
16 @wiki.pages.includes(:parent).all - @page.self_and_descendants,
17 @page.parent),
17 @page.parent),
18 :label => :field_parent_title %></p>
18 :label => :field_parent_title %></p>
19 </div>
19 </div>
General Comments 0
You need to be logged in to leave comments. Login now