Sha256: d9808f42ea3993ee46ae27fbfc734c723f3b6ae18d6ea08828c665bcd8fcd02d

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

%tr
  %td= attachment.name
  %td.nowrap= number_to_human_size(attachment.file.size)
  %td.nowrap
    %small= l attachment.created_at, format: '%d %B %Y %H:%M'
  %td= attachment.file.try(:url)
  %td.nowrap
    = link_to t('spina.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.6.24 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.6.23 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.6.22 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.6.21 app/views/spina/admin/attachments/_attachment.html.haml
spina-0.6.20 app/views/spina/admin/attachments/_attachment.html.haml