Sha256: a290de11a551c9b9c9942a525f3393cac8a7452a549c347fde6173a9fa32954a

Contents?: true

Size: 537 Bytes

Versions: 15

Compression:

Stored size: 537 Bytes

Contents

- include_javascript 'admin/sitemap'
- pages = pluralize(@page.children.count + 1, 'Page')
%h1
  Remove
  = pages

%p
  Are you sure you want to
  %strong.warning permanently remove
  the following
  = pages.downcase + "?"

%table.index#site-map{:cellpadding=>0, :cellspacing=>0, :border=>0}
  %tbody
    = render_node @page, :simple => true

- form_for [:admin, @page.becomes(Page)], :html => {:method => :delete} do
  %p.buttons
    %input.button{:type=>"submit", :value=>"Delete Pages"}/
    or
    = link_to 'Cancel', admin_pages_url

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.2.2 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.2.1 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.2 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.9 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.8 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.7 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.6 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.5 app/views/admin/pages/remove.html.haml
radiant-0.7.2 app/views/admin/pages/remove.html.haml
radiant-0.8.2 app/views/admin/pages/remove.html.haml
radiant-0.8.1 app/views/admin/pages/remove.html.haml
radiant-0.7.0 app/views/admin/pages/remove.html.haml
radiant-0.8.0 app/views/admin/pages/remove.html.haml
radiant-0.7.1 app/views/admin/pages/remove.html.haml