Skip to content

Commit

Permalink
added bootstrap 3 pagination slider view.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 1, 2013
1 parent 9ba52d8 commit 424dd76
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Illuminate/Pagination/views/slider-3.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$presenter = new Illuminate\Pagination\BootstrapPresenter($paginator);
?>

<?php if ($paginator->getLastPage() > 1): ?>
<ul class="pagination">
<?php echo $presenter->render(); ?>
</ul>
<?php endif; ?>

0 comments on commit 424dd76

Please sign in to comment.