Sha256: 0f448889fae1e2bd3a73a2dd927ecc0e2fa0eaf2793b8e0c68814f1556c0bc12

Contents?: true

Size: 518 Bytes

Versions: 29

Compression:

Stored size: 518 Bytes

Contents

tr.attachment
  td.attachment-name
    = link_to attachment, attachment.file.url, download: attachment.download_filename

  td.attachment-attachment_type.hidden-xs.hidden-sm
    - if attachment.attachment_type
      .label.label-info = attachment.attachment_type

  td.attachment-actions
    - if policy(attachment).update?
      = update_button dorsale.edit_alexandrie_attachment_path(attachment)

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
dorsale-3.5.1 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.5.0 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.4.0 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.3.0 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.2.0 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.1.7 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.1.6 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.1.5 app/views/dorsale/alexandrie/attachments/_attachment.html.slim
dorsale-3.1.4 app/views/dorsale/alexandrie/attachments/_attachment.html.slim