Mercurial > hg > soundsoftware-site
view app/views/wiki/.svn/text-base/rename.rhtml.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
<h2><%= l(:button_rename) %>: <%= @original_title %></h2> <%= error_messages_for 'page' %> <% labelled_tabular_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %> <div class="box"> <p><%= f.text_field :title, :required => true, :size => 100 %></p> <p><%= f.check_box :redirect_existing_links %></p> <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> </div> <%= submit_tag l(:button_rename) %> <% end %>