Sha256: aa60ffc686e29df2efd26b3c4c14c9e1c2ee390353a6f9c44c0ba08e57f31023

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

= table.batch_actions( actions: { destroy: destroy_many_attachments_path })
= table.id
/=# table.association :record, label_method: ->(r) { r.try_all(*Itsf::Backend.resource_title_methods) }
= table.column :filename do |resource|
  - resource.blob.filename
= table.column :blob_content_type do |resource|
  - resource.blob.content_type
= table.column :blob_byte_size do |resource|
  - resource.blob.byte_size
= table.column :blob_checksum do |resource|
  - resource.blob.checksum
= table.column :blob_created_at do |resource|
  - I18n.l(resource.blob.created_at, format: :short)
= table.timestamp :created_at, format: :short

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_files_backend-0.0.2 app/views/ecm/files/backend/attachments/_table.haml
ecm_files_backend-0.0.1 app/views/ecm/files/backend/attachments/_table.haml