##// END OF EJS Templates
Check parent wiki page by default....
Jean-Philippe Lang -
r8613:a03c585a84d3
parent child
Show More
@@ -14,7 +14,7
14 <%= text_area_tag 'content[text]', @text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>
14 <%= text_area_tag 'content[text]', @text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>
15
15
16 <% if @page.new_record? && @page.parent %>
16 <% if @page.new_record? && @page.parent %>
17 <p><label><%= check_box_tag 'page[parent_id]', @page.parent.id %> <%= l(:field_parent_title) %></label> <%=h @page.parent.pretty_title %></p>
17 <p><label><%= check_box_tag 'page[parent_id]', @page.parent.id, true %> <%= l(:field_parent_title) %></label> <%=h @page.parent.pretty_title %></p>
18 <% end %>
18 <% end %>
19
19
20 <p><label><%= l(:field_comments) %></label><%= f.text_field :comments, :size => 120 %></p>
20 <p><label><%= l(:field_comments) %></label><%= f.text_field :comments, :size => 120 %></p>
General Comments 0
You need to be logged in to leave comments. Login now