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.38.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.37.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.36.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.35.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.34.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.33.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.32.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.31.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.30.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.29.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.28.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.27.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.26.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.25.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.24.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.22.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.21.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.19.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.18.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml
cmor_testimonials_backend-0.0.17.pre app/views/cmor/testimonials/backend/categories/_after_show_table.html.haml