Mercurial > hg > soundsoftware-site
diff app/views/wiki/rename.rhtml @ 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 diff
--- a/app/views/wiki/rename.rhtml Fri Sep 24 14:06:04 2010 +0100 +++ b/app/views/wiki/rename.rhtml Fri Nov 19 13:24:41 2010 +0000 @@ -6,7 +6,7 @@ <div class="box"> <p><%= f.text_field :title, :required => true, :size => 100 %></p> <p><%= f.check_box :redirect_existing_links %></p> -<p><%= f.text_field :parent_title, :size => 100 %></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 %>