Mercurial > hg > soundsoftware-site
diff app/views/wiki/.svn/text-base/destroy.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 diff
--- a/app/views/wiki/.svn/text-base/destroy.rhtml.svn-base Fri Sep 24 14:06:04 2010 +0100 +++ b/app/views/wiki/.svn/text-base/destroy.rhtml.svn-base Fri Nov 19 13:24:41 2010 +0000 @@ -1,6 +1,6 @@ <h2><%=h @page.pretty_title %></h2> -<% form_tag({}) do %> +<% form_tag({}, :method => :delete) do %> <div class="box"> <p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p> <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br /> @@ -15,5 +15,5 @@ </div> <%= submit_tag l(:button_apply) %> -<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'index', :id => @project, :page => @page.title %> +<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %> <% end %>