Feature #5136
Parent select on Wiki rename page
Status: | Closed | Start date: | 2010-03-20 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | 1.1.0 | |||
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
Related issues
Associated revisions
Adds a combo to select parent on wiki page rename (#5136).
History
#1
Updated by Eric Davis almost 12 years ago
- Category changed from UI to Wiki
- Assignee set to Eric Davis
- Target version set to Unplanned backlogs
#2
Updated by Eric Davis over 11 years ago
- Assignee deleted (
Eric Davis)
#3
Updated by Jean-Philippe Lang over 11 years ago
- Tracker changed from Patch to Feature
- Status changed from New to Closed
- Target version changed from Unplanned backlogs to 1.1.0
- Resolution set to Fixed
Feature added in r4375. The combo shows the page hierarchy.