Sha256: f9a0f6e5404dbcbc69a924cf2c8d2ddc551531f898b4a45998fac783204c7a94

Contents?: true

Size: 588 Bytes

Versions: 14

Compression:

Stored size: 588 Bytes

Contents

%h1= @resource.title

.row
  .col-12
    = resource_table(resource: @resource, resource_class: Cmor::Files::FileDetail, header: false) do |table|
      = table.row :filename do |resource|
        - resource.asset.blob.filename
      = table.row :blob_byte_size do |resource|
        - number_to_human_size(resource.asset.blob.byte_size)
      = table.row :actions do |resource|
        - capture_haml do
          = link_to(t('.download'), main_app.url_for(resource.asset), class: 'btn btn-primary')


.row.mt-4
  .col-12
    = link_to(t('.back'), last_location, class: 'btn btn-primary')

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_files-0.0.60.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.59.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.58.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.57.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.56.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.55.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.54.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.53.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.52.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.51.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.50.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.49.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.48.pre app/views/cmor/files/file_details/show.html.haml
cmor_files-0.0.45.pre app/views/cmor/files/file_details/show.html.haml