From d3f044c734a1e0eb3f514251b2e9510a7942a9d6 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <%=l(:label_wiki_page_new)%>
<%= labelled_form_for :page, @page,
- :url => new_project_wiki_page_path(@project, :parent => params[:parent]),
+ :url => new_project_wiki_page_path(@project),
:method => 'post',
:remote => true do |f| %>
@@ -12,6 +12,14 @@
<%= f.text_field :title, :name => 'title', :size => 60, :required => true %>
<%= l(:text_unallowed_characters) %>: , . / ? ; : |
+ <% if params[:parent].present? %> + + <% end %> +