annotate .svn/pristine/22/2215da5ea32efbcca552e4718d4f9896046cbfa7.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

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