Change pagination HTML in Laravel 5.1

Asked

Viewed 463 times

3

There is a way to change the HTML returned by the method render(), in built-in Laravel 5.1 pagination?

Note: I solved this by creating a helper that uses str_replace(), but I believe it is not the most correct medium.

Grateful.

2 answers

0

Open the tab containing the pagination.

Open the Inspect Element of Chrome or another browser you use and inspect the elements that mount pagination.

Altere via CSS.

  • Thanks for the collaboration, however, I want to change the same HTML.

0


I found this library - Landish/Pagination - that already brings some pagers and allows you to easily create your own.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.