Sha256: 85f3c15048e399d8791aae40e6778340ac1025681ab6ac137196ee5ef58603ca

Contents?: true

Size: 573 Bytes

Versions: 6

Compression:

Stored size: 573 Bytes

Contents

.placeholder
  = render partial: 'integral/backend/shared/record_selector/record', locals: { list_item: { image: '', title: '', subtitle: '' }}

- if collection.empty?
  %p.text-center.no-records
    = t('integral.backend.tables.no_data_available')
    = image_tag image_path('integral/backend/data-unavailable.png')
- else
  .grid-x
    - collection.each do |obj|
      = render partial: 'integral/backend/shared/record_selector/record', locals: { list_item: obj.to_list_item }
    .cell.text-center
      = will_paginate collection, renderer: FoundationPagination::Rails

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
integral-1.4.0 app/views/integral/backend/shared/record_selector/_collection.haml
integral-1.3.0 app/views/integral/backend/shared/record_selector/_collection.haml
integral-1.2.0 app/views/integral/backend/shared/record_selector/_collection.haml
integral-1.1.0 app/views/integral/backend/shared/record_selector/_collection.haml
integral-1.0.1 app/views/integral/backend/shared/record_selector/_collection.haml
integral-1.0.0 app/views/integral/backend/shared/record_selector/_collection.haml