summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/rename.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-25 17:17:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-25 17:17:49 +0000
commit5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7 (patch)
tree93e57765139714bd82dede475725516c448c0d55 /app/views/wiki/rename.html.erb
parent34e20c4373b7f5a20ab3a132feae3f70f21ec477 (diff)
downloadredmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.tar.gz
redmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.zip
Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/rename.html.erb')
-rw-r--r--app/views/wiki/rename.html.erb4
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),