2011-07-04 23:56:38 +04:00
|
|
|
<%= wiki_page_breadcrumb(@page) %>
|
|
|
|
|
|
|
|
<h2><%=h @original_title %></h2>
|
2007-09-09 21:05:38 +04:00
|
|
|
|
|
|
|
<%= error_messages_for 'page' %>
|
|
|
|
|
2011-12-09 22:15:55 +04:00
|
|
|
<% labelled_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %>
|
|
|
|
<div class="box tabular">
|
2008-07-26 15:46:24 +04:00
|
|
|
<p><%= f.text_field :title, :required => true, :size => 100 %></p>
|
2007-09-09 21:05:38 +04:00
|
|
|
<p><%= f.check_box :redirect_existing_links %></p>
|
2010-11-06 17:30:32 +03:00
|
|
|
<p><%= f.select :parent_id, "<option value=''></option>" + wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent), :label => :field_parent_title %></p>
|
2007-09-09 21:05:38 +04:00
|
|
|
</div>
|
|
|
|
<%= submit_tag l(:button_rename) %>
|
|
|
|
<% end %>
|