Sha256: 3912ab062dc40d2e5cd29e37d0d4a358fc9330118d8339da3403293481383c9a

Contents?: true

Size: 657 Bytes

Versions: 49

Compression:

Stored size: 657 Bytes

Contents

= table.batch_actions actions: { destroy: url_for(action: :destroy_many) }
= table.acts_as_list_actions scope: :category_id
= table.association :category, label_method: :human, link_to: ->(resource) { url_for([resource.category]) }, sort: { column_name: 'cmor_testimonials_categories.name' }
= table.column :company, sort: true
= table.column :fullname, sort: true
= table.column :role, sort: true
= table.column :image do |resource|
  - if resource.image.attached?
    - image_tag(main_app.url_for(resource.image.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))))
= table.timestamps sort: true
= table.acts_as_published_actions

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
cmor_testimonials_backend-0.0.16.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.15.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.14.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.13.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.12.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.11.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.10.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.9.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml
cmor_testimonials_backend-0.0.8.pre app/views/cmor/testimonials/backend/testimonials/_index_table.html.haml