Sha256: 1e2c2c8e20b33007aab0bf105315283fb7c09600da009d4f40a10715be844bbd

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

- Array(resource.public_send(column[:name])).each do |file|
  .col-resource_item
    - title = [file.content_type, number_to_human_size(file.byte_size)].map(&:presence).compact
    = link_to(file.filename, url_for(file), title: title)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_datatables-4.8.1 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.8.0 app/views/effective/datatables/_active_storage_column.html.haml