summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-30 18:19:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-30 18:19:29 +0000
commita03c585a84d3197e0c35617dc78c9e3ca264c56a (patch)
treeaaa869a34c5a060ab84518af070af69d2891bfbc /app/views
parenta749e788abd910c37e98528c4d8c026667810ea3 (diff)
downloadredmine-a03c585a84d3197e0c35617dc78c9e3ca264c56a.tar.gz
redmine-a03c585a84d3197e0c35617dc78c9e3ca264c56a.zip
Check parent wiki page by default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8733 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/wiki/edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/edit.html.erb b/app/views/wiki/edit.html.erb
index 8c20e264d..00d243a13 100644
--- a/app/views/wiki/edit.html.erb
+++ b/app/views/wiki/edit.html.erb
@@ -14,7 +14,7 @@
<%= text_area_tag 'content[text]', @text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>
<% if @page.new_record? && @page.parent %>
-<p><label><%= check_box_tag 'page[parent_id]', @page.parent.id %> <%= l(:field_parent_title) %></label> <%=h @page.parent.pretty_title %></p>
+<p><label><%= check_box_tag 'page[parent_id]', @page.parent.id, true %> <%= l(:field_parent_title) %></label> <%=h @page.parent.pretty_title %></p>
<% end %>
<p><label><%= l(:field_comments) %></label><%= f.text_field :comments, :size => 120 %></p>