Sha256: 7667a3dab76c3a26c84f994977427432443e3528161934c38dea09830c5088eb

Contents?: true

Size: 487 Bytes

Versions: 33

Compression:

Stored size: 487 Bytes

Contents

= f.actions do
  .row
    .col-sm-6.text-left
      - if policy(@page).destroy?
        = link_to t(:delete, scope: 'simple_form.buttons.locomotive.page'), page_path(current_site, @page), data: { confirm:  I18n.t('locomotive.messages.confirm') }, class:'btn btn-sm btn-danger', method: :delete

    .col-sm-6.text-right
      = f.actions_with_back_button back_url: @page.default_response_type? ? editable_elements_path(current_site, @page) : nil, use_stored_location: @page.templatized?

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.1.1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.1.0 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.3 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.2 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.0 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.0.rc0 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.0.alpha3 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.4.1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.0.alpha2 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-4.0.0.alpha1 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.4.0 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.3.0 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.3.0.rc3 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.3.0.rc2 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.1.2 app/views/locomotive/pages/form/_actions.html.slim
locomotivecms-3.2.1 app/views/locomotive/pages/form/_actions.html.slim