Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

will_paginate-foundation

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

will_paginate-foundation

  • 6.2.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

will_paginate-foundation

Gem Version

Foundation Pagination Component

This gem integrates the Foundation pagination component with the will_paginate pagination gem.

Supports Foundation 3, 4, 5

Install

  • gem install will_paginate-foundation, or
  • For projects using Bundler, add gem 'will_paginate-foundation' to your Gemfile (and then run bundle install).

Usage

Rails

  1. Load the Foundation CSS in your template.
  2. In your view, use the renderer: FoundationPagination::Rails option with the will_paginate helper, for example:
<%= will_paginate @collection, renderer: FoundationPagination::Rails %>

Sinatra

  1. Load the Foundation CSS in your template.
  2. require "will_paginate-foundation" in your Sinatra app.
  3. In your view, use the renderer: FoundationPagination::Sinatra option with the will_paginate helper, for example:
<%= will_paginate @collection, renderer: FoundationPagination::Sinatra %>

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_markup)
  3. Commit your changes (git commit -am "Cool new feature")
  4. Push to the branch (git push origin my_markup)
  5. Open a [Pull Request][1]
  6. Enjoy a refreshing 'Insert Favorite Beverage' and wait

Special Thanks

This gem code was based on https://github.com/nickpad/will_paginate-bootstrap

License

The MIT License (MIT)

FAQs

Package last updated on 05 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc