Rumamge.Phoenix v1.0.0 Rummage.Phoenix.PaginateView
View Helper for Pagination in Rummage for bootstrap views.
Usage:
defmodule MyApp.ProductView do
use MyApp.Web, :view
use Rummage.Phoenix.View, only: [:paginate]
end
OR
defmodule MyApp.ProductView do
use MyApp.Web, :view
use Rummage.Phoenix.View
end
Summary
Functions
This macro includes the helpers functions for pagination
Functions
This macro includes the helpers functions for pagination
Provides helper functions pagination_link/3
for creating pagination links in an html.eex
file of using Phoenix
.
Usage: Just add the following code in the index template. Make sure that you’re passing rummage from the controller. Please look at the README for more details
pagination_link(@conn, @rummage)