diff options
Diffstat (limited to 'app/views/wiki/rename.html.erb')
-rw-r--r-- | app/views/wiki/rename.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/rename.html.erb b/app/views/wiki/rename.html.erb index fea76383a..86385a94b 100644 --- a/app/views/wiki/rename.html.erb +++ b/app/views/wiki/rename.html.erb @@ -4,14 +4,14 @@ <%= error_messages_for 'page' %> -<% labelled_form_for :wiki_page, @page, +<%= labelled_form_for :wiki_page, @page, :url => { :action => 'rename' }, :html => { :method => :post } do |f| %> <div class="box tabular"> <p><%= f.text_field :title, :required => true, :size => 100 %></p> <p><%= f.check_box :redirect_existing_links %></p> <p><%= f.select :parent_id, - "<option value=''></option>" + + content_tag('option', '', :value => '') + wiki_page_options_for_select( @wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent), |