Sha256: 8e5cfda7ed704808bf8097fc501ddcad9be530feaf658427e820e798b21358ce

Contents?: true

Size: 615 Bytes

Versions: 83

Compression:

Stored size: 615 Bytes

Contents

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

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

%h4
  = t('text.pages.remove_warning', :pages => pages).html_safe

.inset
  %table.index#site_map
    %tbody
      - render_nodes @page, @page.id, nil, true
      = @rendered_html.html_safe

= form_for [:admin, @page.becomes(Page)], :html => {:method => :delete, 'data-onsubmit_status'=>'Removing pages&#8230;'} do
  .buttons
    %input.button{:type=>'submit', :value => t('delete_pages', :pages => pages) }/
    = t('or')
    = link_to t('cancel'), admin_pages_path, class: 'alt'

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
trusty-cms-7.0.9.1 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.11 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.10 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.9 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.8 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.7 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.6 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.5 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.4 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.3 app/views/admin/pages/remove.html.haml
trusty-cms-6.3.1 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.2 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.1 app/views/admin/pages/remove.html.haml
trusty-cms-7.0.0 app/views/admin/pages/remove.html.haml
trusty-cms-6.3 app/views/admin/pages/remove.html.haml
trusty-cms-6.2.1 app/views/admin/pages/remove.html.haml
trusty-cms-6.2.2.1 app/views/admin/pages/remove.html.haml
trusty-cms-6.2.0 app/views/admin/pages/remove.html.haml
trusty-cms-6.1.2 app/views/admin/pages/remove.html.haml
trusty-cms-6.1.1 app/views/admin/pages/remove.html.haml