comparison 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
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
4 4
5 <% labelled_tabular_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %> 5 <% labelled_tabular_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %>
6 <div class="box"> 6 <div class="box">
7 <p><%= f.text_field :title, :required => true, :size => 100 %></p> 7 <p><%= f.text_field :title, :required => true, :size => 100 %></p>
8 <p><%= f.check_box :redirect_existing_links %></p> 8 <p><%= f.check_box :redirect_existing_links %></p>
9 <p><%= f.text_field :parent_title, :size => 100 %></p> 9 <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>
10 </div> 10 </div>
11 <%= submit_tag l(:button_rename) %> 11 <%= submit_tag l(:button_rename) %>
12 <% end %> 12 <% end %>