Sha256: 813b18135306f06408133a2b8ef576fac730168b55331a962fe6efe469431b71

Contents?: true

Size: 532 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
radiant-rails3-0.1 app/views/admin/pages/remove.html.haml