Project

General

Profile

Actions

Feature #5136

closed

Parent select on Wiki rename page

Added by Aleksey Hariton about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
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

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

Related issues

Has duplicate Redmine - Feature #3617: Selecting wiki page parent from a listClosed2009-07-15

Actions
Actions #1

Updated by Eric Davis over 13 years ago

  • Category changed from UI to Wiki
  • Assignee set to Eric Davis
  • Target version set to Unplanned backlogs
Actions #2

Updated by Eric Davis over 13 years ago

  • Assignee deleted (Eric Davis)
Actions #3

Updated by Jean-Philippe Lang over 13 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.

Actions

Also available in: Atom PDF