Sha256: 97c836c6097b8a4c6dafc042b9404b9cc0795d0e54bf6bec6577cf6bd9fac67f
Contents?: true
Size: 769 Bytes
Versions: 51
Compression:
Stored size: 769 Bytes
Contents
%h2= Cmor::Files::FileDetail.model_name.human(count: :other) = collection_table(collection: @resource.file_details, resource_class: Cmor::Files::FileDetail) do |t| = t.id = t.column :title = t.column :blob_filename do |resource| - resource.asset.blob.filename = t.column :blob_byte_size do |resource| - number_to_human_size(resource.asset.blob.byte_size) = t.column :blob_checksum do |resource| - resource.asset.blob.checksum = t.timestamps format: :short = t.column :actions do |resource| - link_to([resource], id: "#{dom_id(resource)}-destroy", class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do %span.glyphicon.glyphicon-fire %span.btn-text= t('.destroy')
Version data entries
51 entries across 51 versions & 1 rubygems