##// END OF EJS Templates
cleanup syntax of Relation#all at app/views/wiki/edit.html.erb...
Toshi MARUYAMA -
r12312:5d535f899644
parent child
Show More
@@ -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(@wiki.pages.all(:include => :parent) -
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