diff .svn/pristine/18/1888c2001e3b4b09dbd1027a98f0a095788cb438.svn-base @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/18/1888c2001e3b4b09dbd1027a98f0a095788cb438.svn-base	Tue Sep 09 09:29:00 2014 +0100
@@ -0,0 +1,21 @@
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%= h @original_title %></h2>
+
+<%= error_messages_for '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,
+                content_tag('option', '', :value => '') + 
+                  wiki_page_options_for_select(
+                    @wiki.pages.includes(:parent).all - @page.self_and_descendants,
+                    @page.parent),
+                :label => :field_parent_title %></p>
+</div>
+<%= submit_tag l(:button_rename) %>
+<% end %>