SimplePagination.PaginationHelper (simple_pagination v0.0.3)

contains helper functions to create

  • order_by buttons
  • page links
  • filters

Link to this section Summary

Functions

provides a link to order following a given field <.order_tag label="id" order_by={:id} paginator={@things} />

provides links for pages 1...N and a select box for number of items per page

Link to this section Functions

Link to this function

order_tag(assigns)

provides a link to order following a given field <.order_tag label="id" order_by={:id} paginator={@things} />

Link to this function

page_indicators(page, page_nb, delta)

Link to this function

page_tag(assigns)

provides links for pages 1...N and a select box for number of items per page

Link to this function

search_filter_tag(assigns)