Feature #5136

Parent select on Wiki rename page

Added by Aleksey Hariton over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:2010-03-20
Priority:NormalDue 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

select-in-rename.png (16.7 KB) Aleksey Hariton, 2010-03-20 11:45


Related issues

Duplicated by Redmine - Feature #3617: Selecting wiki page parent from a list Closed 2009-07-15

Associated revisions

Revision 4375
Added by Jean-Philippe Lang about 7 years ago

Adds a combo to select parent on wiki page rename (#5136).

History

#1 Updated by Eric Davis about 7 years ago

  • Category changed from UI to Wiki
  • Assignee set to Eric Davis
  • Target version set to Unplanned

#2 Updated by Eric Davis about 7 years ago

  • Assignee deleted (Eric Davis)

#3 Updated by Jean-Philippe Lang about 7 years ago

  • Tracker changed from Patch to Feature
  • Status changed from New to Closed
  • Target version changed from Unplanned to 1.1.0
  • Resolution set to Fixed

Feature added in r4375. The combo shows the page hierarchy.

Also available in: Atom PDF