Sha256: 4fe223daeffa7113ef2c05e59e5a5f87126f52efb6ba8abb7971e5fffb6a56d0
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
- if resource.send(name)&.attached? = capture_haml do = link_to(main_app.url_for(resource.send(name)), class: 'btn btn-xs btn-primary btn-responsive') do %i.fas.fa-download %span.btn-text= "#{t('rao.component.collection_table.download')} (#{resource.send(name).blob.content_type.split('/').last}, #{number_to_human_size(resource.send(name).blob.byte_size)})"
Version data entries
3 entries across 3 versions & 1 rubygems