Melquisedeque's avatar

Como customizar o método paginate? How to customize the paginate method?

Estou utilizando o método paginate no meu projeto com laravel 10, mas eu gostaria de customizar ou remover o texto que aparece junto dos botões de paginação. exemplo: Showing 1 to 5 of 12 results para: Mostrando de 1 a 5 de 12 resultados ==================//================== I'm using the paginate method in my project with laravel 10, but I would like to customize or remove the text that appears next to the pagination buttons.

0 likes
2 replies
Snapey's avatar

look in the resources lang folder

pmeneses97's avatar

Hello, In the folder lang/en/ there is a pagination.php file, that contains the pagination texts.

If you want to remove them from the html or even edit the html of the pagination you need to go this folder: vendors/laravel/framework/src/Illuminate/Pagination/resources/views and edit the file you are using for ex if you're using boostrap 5, its the boostrap-5.blade.php file.

Olá, Na pasta lang/en/ existe um ficheiro pagination.php, que contém os textos da paginação.

Se você quiser removê-los do html ou mesmo editar o html da paginação têm de ir a esta pasta: vendors/laravel/framework/src/Illuminate/Pagination/resources/views e editar o ficheiro que está a utilizar, por exemplo: Boostrap 5, é o ficheiro boostrap-5.blade.php

Please or to participate in this conversation.