Sha256: 234f83d1546a59073018971374b0c620f6d51a5051b97d39238b7bfe3b2e13ba

Contents?: true

Size: 449 Bytes

Versions: 19

Compression:

Stored size: 449 Bytes

Contents

= image_tag("loading.gif", size: 'thumb', class: "spinner", style: "display: none;")
= paginate

.per_page_options
  %span.per_page_label
    = t('entities_per_page', :entity => t(controller_name))

  - [ 10, 20, 30, 50 ].each do |count|
    - if count == @per_page.to_i
      %em.current= count
    - else
      = link_to count, send("redraw_#{controller.controller_name}_path", per_page: count, query: params[:query], q: params[:q]), remote: true

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.15.2 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.16.4 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.14.1 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.15.1 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.16.3 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.16.2 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.16.1 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.16.0 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.15.0 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.15.0.beta.2 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.15.0.beta app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.14.0 app/views/shared/_paginate_with_per_page.html.haml
reduced_fat_crm-0.15.0.beta app/views/shared/_paginate_with_per_page.html.haml
reduced_fat_crm-0.14.0 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.13.6 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.13.5 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.13.4 app/views/shared/_paginate_with_per_page.html.haml
fat_free_crm-0.13.3 app/views/shared/_paginate_with_per_page.html.haml