Delete page.

This commit is contained in:
chris2tof committed 2011-06-01 12:00:41 +08:00
1 parent ddc7c74436
commit 7b5ea870a0
8 files changed
+41 -10

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<% form_for :page, :url => admin_page_path(@page), :html => { :method => :delete } do |f| %>
<h2><%= t('sure?') %></h2>
<p>
<%= submit_tag t(:delete) %>
<%= link_back %>
</p>
<% end %>
+1
View File
@@ -0,0 +1 @@
$('#sidebar').html("<%= escape_javascript(render(:partial => 'admin/items/site_map_left_bar')) %>");