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-5.0.3 app/views/admin/pages/remove.html.haml
trusty-cms-5.0.2 app/views/admin/pages/remove.html.haml
trusty-cms-5.0.1 app/views/admin/pages/remove.html.haml
trusty-cms-4.3.5 app/views/admin/pages/remove.html.haml
trusty-cms-5.0.0 app/views/admin/pages/remove.html.haml
trusty-cms-4.3.4 app/views/admin/pages/remove.html.haml
trusty-cms-4.3.3 app/views/admin/pages/remove.html.haml
trusty-cms-4.3.2 app/views/admin/pages/remove.html.haml
trusty-cms-4.3.1 app/views/admin/pages/remove.html.haml
trusty-cms-4.3 app/views/admin/pages/remove.html.haml
trusty-cms-4.2.3 app/views/admin/pages/remove.html.haml
trusty-cms-4.2.2 app/views/admin/pages/remove.html.haml
trusty-cms-4.2.1 app/views/admin/pages/remove.html.haml
trusty-cms-4.2 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.9 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.8 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.7 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.6 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.5 app/views/admin/pages/remove.html.haml
trusty-cms-4.1.4 app/views/admin/pages/remove.html.haml