Sha256: 04f1befaed3b5b3ac13556b7268307be4af005b16b9a611469acdf865808d44d
Contents?: true
Size: 591 Bytes
Versions: 47
Compression:
Stored size: 591 Bytes
Contents
%h1= @resource.name .row .col-12 = collection_table(collection: @resource.assets, resource_class: ActiveStorage::Attachment, header: false) do |table| = table.column :filename do |resource| - resource.blob.filename = table.column :blob_byte_size do |resource| - number_to_human_size(resource.blob.byte_size) = table.column :actions do |resource| - capture_haml do = link_to(t('.download'), main_app.url_for(resource), class: 'btn btn-primary') .row.mt-4 .col-12 = link_to(t('.back'), last_location, class: 'btn btn-primary')
Version data entries
47 entries across 47 versions & 2 rubygems