Pagination uses renderer that works with Zurb Foundation
This commit is contained in:
parent
608a733b74
commit
0f0a8bf61c
3 changed files with 13 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
- if @packages.length>0
|
||||
// Use different pagination navigators depending on the screen width
|
||||
div.show-for-large-up
|
||||
=will_paginate @packages, :inner_window => 3
|
||||
=will_paginate @packages, renderer: FoundationPagination::Rails, :inner_window => 3
|
||||
div.show-for-medium-only
|
||||
=will_paginate @packages, :inner_window => 1
|
||||
=will_paginate @packages, renderer: FoundationPagination::Rails, :inner_window => 1
|
||||
div.show-for-small-only
|
||||
=will_paginate @packages, :page_links => false
|
||||
=will_paginate @packages, renderer: FoundationPagination::Rails, :page_links => false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue