Sha256: 29ba6d6ece1e31768a57604ea361df8d016d732bda1ad6a0b9af73a3e03d51f4

Contents?: true

Size: 559 Bytes

Versions: 42

Compression:

Stored size: 559 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
      = @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_url

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
trusty-cms-2.0.9.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.8.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.7.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.5.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.4.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.3.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.2.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.1.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-2.0.0.pre.beta app/views/admin/pages/remove.html.haml
trusty-cms-1.2.29 app/views/admin/pages/remove.html.haml
trusty-cms-1.2.28 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.28 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.27 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.26 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.25 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.24 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.23 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.22 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.21 app/views/admin/pages/remove.html.haml
trusty-cms-1.1.20 app/views/admin/pages/remove.html.haml