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