Mercurial > hg > soundsoftware-site
view app/views/wiki/rename.rhtml @ 344:1a514b9347d4 feature_121
Add Recent Activity partial, include it as a block in My Page (on by default) and in the project information page
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 31 Mar 2011 15:19:30 +0100 |
parents | 94944d00e43c |
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 %>