Sha256: e7c115c6087392dad5c33fc06f87cfd1dfb8c2edb76deb3b4dd9ad0e6281f841

Contents?: true

Size: 253 Bytes

Versions: 85

Compression:

Stored size: 253 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, target: '_blank')

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
effective_datatables-4.31.3 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.31.2 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.31.1 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.31.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.30.2 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.30.1 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.30.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.29.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.26.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.25.3 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.25.2 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.25.1 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.25.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.24.2 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.24.1 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.24.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.23.0 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.22.3 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.22.2 app/views/effective/datatables/_active_storage_column.html.haml
effective_datatables-4.22.1 app/views/effective/datatables/_active_storage_column.html.haml