Sha256: 5196383b3b355d7e50b580cec1ba30a17c601dcc960a0f11dc97f93cf883957d

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

ul.list-group.attachments
  - ::Dorsale::Alexandrie::Attachment.where(attachable: attachable).each do |a|
    li.list-group-item.attachment
      = link_to a, a.file.url, download: a.download_filename

      .pull-right
        - if policy(a).update?
          = update_button dorsale.edit_alexandrie_attachment_path(a), action: :rename

        = " "

        - if policy(a).delete?
          = delete_button dorsale.alexandrie_attachment_path(a), remote: true

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dorsale-3.1.3 app/views/dorsale/alexandrie/attachments/_list.html.slim
dorsale-3.1.2 app/views/dorsale/alexandrie/attachments/_list.html.slim
dorsale-3.1.1 app/views/dorsale/alexandrie/attachments/_list.html.slim
dorsale-3.1.0 app/views/dorsale/alexandrie/attachments/_list.html.slim