Sha256: d4514e5384f64ae8b472812e7fc4431b0784f7d6422479a82a299a8ee55773cc
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
= table.association :download_category, sortable: true, url: ->(category) { download_category_path(category) } = table.column :name, sortable: true, class: 'truncate-chars truncate-chars-30' = table.column(:asset_file_size, sortable: true) { |download| number_to_human_size(download.asset_file_size) } = table.column :asset_content_type, sortable: true = table.timestamps = table.column(:additional_actions, class: 'table-data-centered') { |download| link_to(t('.download'), download_download_path(download), class: 'btn btn-xs btn-primary') } = table.acts_as_published_actions
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_downloads2_backend-2.0.2 | app/views/ecm/downloads/backend/downloads/_table.html.haml |
ecm_downloads2_backend-2.0.1 | app/views/ecm/downloads/backend/downloads/_table.html.haml |