Sha256: 1b01bcdd8459ba0227f1c323176a033260fbbc6698ed540652c37c58e726f899

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

= content_for :title, t('.title', name: @resource.title)

= content_for :actionbar do
  %ul.menu.horizontal
    %li
      = link_to post_url(@resource), class: 'button white' do
        = icon('eye')
        = t('integral.actions.view')
    - if policy(Integral::Post).duplicate?
      %li
        = link_to duplicate_backend_post_url(@resource.id), class: 'button white', method: :post, data: { confirm: t('integral.actions.confirmation.clone') } do
          = icon('history')
          = t('integral.actions.clone')
    - if policy(Integral::Version).manager?
      %li
        = link_to activities_backend_post_url(@resource.id), class: 'button white' do
          = icon('history')
          = t('integral.navigation.activity')

= render 'form'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
integral-1.4.0 app/views/integral/backend/posts/edit.haml
integral-1.3.0 app/views/integral/backend/posts/edit.haml
integral-1.2.0 app/views/integral/backend/posts/edit.haml