Sha256: 60d094269676af71ba09424b9858feb8b94b17e228e588439abdeb0f1755b6cf

Contents?: true

Size: 867 Bytes

Versions: 5

Compression:

Stored size: 867 Bytes

Contents

%tr.group_data
  - img_tag = image_tag '/assets/importable_attachments/buttons/download_32.png', alt: "Download #{attachment.io_stream_file_name}", title: "Download #{attachment.io_stream_file_name.inspect}", id: "icon_file_download_#{attachment.id}", :class => 'faux_link'
  %td.text_col{style: 'text-align: center;'}= link_to img_tag, attachment.io_stream.url
  %td.text_col= link_to attachment.io_stream_file_name, attachment, title: "View metadata for #{attachment.io_stream_file_name.inspect}", alt: "View metadata for #{attachment.io_stream_file_name.inspect}"
  %td.text_col{style: 'text-align: center;'}= attachment.revision_number
  %td.text_col= attachment.updated_at.strftime('%Y-%m-%d %I:%M %p')
  %td.action_col= link_to 'Edit', edit_attachment_path(attachment)
  %td.action_col= link_to 'Destroy', attachment, confirm: 'Are you sure?', method: :delete

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
importable_attachments-0.0.18 app/views/importable_attachments/attachments/_attachment.html.haml
importable_attachments-0.0.17 app/views/importable_attachments/attachments/_attachment.html.haml
importable_attachments-0.0.15 app/views/importable_attachments/attachments/_attachment.html.haml
importable_attachments-0.0.14 app/views/importable_attachments/attachments/_attachment.html.haml
importable_attachments-0.0.13 app/views/importable_attachments/attachments/_attachment.html.haml