Actions
Feature #5136
closedParent select on Wiki rename page
Start date:
2010-03-20
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
I wont to add parent selection combobox on rename page, but when I change field type from text_field to collection_select string "Parent page" removed :(, how can I fix it?
My patch for app/views/wiki/rename.rhtml
9c9 < <p><%= f.text_field :parent_title, :size => 100 %></p> --- > <p><%= f.collection_select :parent_title, WikiPage.find(:all, :conditions => ["id <> ? ", @page.id ]), :title, :pretty_title, {:prompt => ""} %></p>
P.S.
I am novice in RoR
Files
Related issues
Actions