Sha256: 04045ce7a53755dcdf684c8f19e172c41aa4a3841b210f684a328a13a6ca9c3a

Contents?: true

Size: 585 Bytes

Versions: 75

Compression:

Stored size: 585 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).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…"} 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

75 entries across 75 versions & 1 rubygems

Version Path
trusty-cms-3.1.8 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.7 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.6 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.5 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.3 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.2 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.11 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.1 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.10 app/views/admin/pages/remove.html.haml
trusty-cms-3.1.0 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.9 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.8 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.7 app/views/admin/pages/remove.html.haml
trusty-cms-2.0.28 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.6 app/views/admin/pages/remove.html.haml
trusty-cms-2.0.27 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.4 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.3 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.2 app/views/admin/pages/remove.html.haml
trusty-cms-3.0.1 app/views/admin/pages/remove.html.haml