Sha256: 7b295958abdb91e6bee9eaebd5290a21b57c2514047a8297e8596eca707c37b2

Contents?: true

Size: 432 Bytes

Versions: 6

Compression:

Stored size: 432 Bytes

Contents

- if collection.total_pages < 2
  = t('helpers.page_entries_info.one_page.display_entries', :count => collection.total_count).html_safe
- else
  - first = collection.offset_value + 1
  - last = collection.last_page? ? collection.total_count : collection.offset_value + collection.limit_value
  = t('helpers.page_entries_info.more_pages.display_entries', :first => first, :last => last, :total => collection.total_count).html_safe


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
basepack-1.0.1 app/views/forms/_page_entries_info.html.haml
basepack-1.0.0 app/views/forms/_page_entries_info.html.haml
basepack-1.0.0.pre.0 app/views/forms/_page_entries_info.html.haml
basepack-0.2.0 app/views/forms/_page_entries_info.html.haml
basepack-0.1.0 app/views/forms/_page_entries_info.html.haml
basepack-0.0.2 app/views/forms/_page_entries_info.html.haml