<%= l(:button_rename) %>: <%= h(@original_title) %>

<%= error_messages_for 'page' %> <%= labelled_tabular_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %>

<%= f.text_field :title, :required => true, :size => 100 %>

<%= f.check_box :redirect_existing_links %>

<%= f.select :parent_id, content_tag(:option, '', :value => '') + wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent), :label => :field_parent_title %>

<%= submit_tag l(:button_rename) %> <% end %>