Browse Source

Check parent wiki page by default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8733 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.4.0
Jean-Philippe Lang 12 years ago
parent
commit
a03c585a84
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/views/wiki/edit.html.erb

+ 1
- 1
app/views/wiki/edit.html.erb View File

@@ -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>

Loading…
Cancel
Save