Sha256: 392bd7a81ebacec837dff94dad7bc4b7bee2bd6a1c37dd362cfe4ecd82c9abdc

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

%tr
  %td= link_to attachment.name, attachment.file.try(:url), target: :blank
  %td.nowrap= number_to_human_size(attachment.file.size)
  %td.nowrap
    %small= l attachment.created_at, format: '%d %B %Y %H:%M'
  %td.nowrap
    = link_to t('spina.delete'), admin_attachment_path(attachment), method: :delete, class: 'button button-link button-danger button-small', data: {confirm: t('spina.delete_confirmation', subject: attachment.name)}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-0.12.0 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.11.1 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.11.0 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.10.0 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.9.0 app/views/spina/admin/attachments/_attachment.html.haml