Sha256: 4f99cb59b720f3b221786ea995303e5da55676e6aa0d4da20dc49567e0ec0398

Contents?: true

Size: 532 Bytes

Versions: 7

Compression:

Stored size: 532 Bytes

Contents

- pages = @page.children.count > 1 ? t('pages') : t('page')

%h1
  = t('remove_pages', :pages => pages)

%p 
  = t('text.pages.remove_warning', :pages => pages)
    
.inset
  %table.index#site_map
    %tbody
      = render_node @page, :simple => true

- form_for [:admin, @page.becomes(Page)], :html => {:method => :delete, 'data-onsubmit_status'=>"Removing pages…"} do
  %p.buttons
    %input.button{:type=>"submit", :value => t('delete_pages', :pages => pages) }/
    = t('or')    
    = link_to t('cancel'), admin_pages_url

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
radiantcms-couchrest_model-0.1.4 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.3 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.2 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1.1 app/views/admin/pages/remove.html.haml
radiantcms-couchrest_model-0.1 app/views/admin/pages/remove.html.haml
radiant-0.9.1 app/views/admin/pages/remove.html.haml
radiant-0.9.0.rc2 app/views/admin/pages/remove.html.haml