bootstrap-ruby / will_paginate-bootstrap

Integrates the Twitter Bootstrap pagination component with will_paginate
MIT License
388 stars 160 forks source link

Support bootstrap 2.0.X #15

Closed jugyo closed 11 years ago

jugyo commented 11 years ago

This change like below

<div class="pagination">
  <ul>
    <li class="prev disabled"><span>← Previous</span></li>
    <li class="active"><span>1</span></li>
    <li><a rel="next" href="/?page=2">2</a></li>
    <li><a href="/?page=3">3</a></li>
    <li class="next"><a rel="next" href="/?page=2">Next →</a></li>
  </ul>
</div>

to

<div class="pagination">
  <ul>
    <li class="prev disabled"><a href="#">← Previous</a></li>
    <li class="active"><a href="#">1</a></li>
    <li><a rel="next" href="/?page=2">2</a></li>
    <li><a href="/?page=3">3</a></li>
    <li class="next"><a rel="next" href="/?page=2">Next →</a></li>
  </ul>
</div>
nickpad commented 11 years ago

Thanks for the pull request. I've decided to only support bootstrap 3.0 starting at version 1.0 which I've just pushed.