annotate .svn/pristine/22/2215da5ea32efbcca552e4718d4f9896046cbfa7.svn-base @ 1621:3a510bf6a9bc

Merge from live branch
author Chris Cannam
date Fri, 13 Jul 2018 10:44:33 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 <%= wiki_page_breadcrumb(@page) %>
Chris@1296 2
Chris@1296 3 <h2><%= h @original_title %></h2>
Chris@1296 4
Chris@1296 5 <%= error_messages_for 'page' %>
Chris@1296 6
Chris@1296 7 <%= labelled_form_for :wiki_page, @page,
Chris@1296 8 :url => { :action => 'rename' },
Chris@1296 9 :html => { :method => :post } do |f| %>
Chris@1296 10 <div class="box tabular">
Chris@1296 11 <p><%= f.text_field :title, :required => true, :size => 100 %></p>
Chris@1296 12 <p><%= f.check_box :redirect_existing_links %></p>
Chris@1296 13 <p><%= f.select :parent_id,
Chris@1296 14 content_tag('option', '', :value => '') +
Chris@1296 15 wiki_page_options_for_select(
Chris@1296 16 @wiki.pages.all(:include => :parent) - @page.self_and_descendants,
Chris@1296 17 @page.parent),
Chris@1296 18 :label => :field_parent_title %></p>
Chris@1296 19 </div>
Chris@1296 20 <%= submit_tag l(:button_rename) %>
Chris@1296 21 <% end %>