Sha256: 5af4e801d820629e4ab8ea5eeb9e16654e2daae630b88bc1cf84949720a1985a

Contents?: true

Size: 783 Bytes

Versions: 49

Compression:

Stored size: 783 Bytes

Contents

%h2= Cmor::Testimonials::Testimonial.model_name.human(count: :other)

= collection_table(collection: @resource.testimonials, resource_class: Cmor::Testimonials::Testimonial) do |table|
  = table.batch_actions actions: { destroy: url_for([:destroy_many, Cmor::Testimonials::Testimonial]) }
  = table.acts_as_list_actions scope: :category_id
  = 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.column :company
  = table.column :fullname
  = table.column :role
  = table.timestamps
  = table.acts_as_published_actions
  = render partial: '/administrador/resources_controller/base/index_table_actions', locals: { table: table }

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
cmor_testimonials_backend-0.0.60.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.59.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.58.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.57.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.56.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.55.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.54.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.53.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.52.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.51.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.50.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.49.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.48.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.45.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.44.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.43.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.42.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.41.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.40.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.39.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml