Skip to content

Instantly share code, notes, and snippets.

View canis's full-sized avatar

Basil Dolgov canis

View GitHub Profile
@canis
canis / bulma.blame.php
Last active December 7, 2020 21:49
Laravel pagintion - bulma template
@if ($paginator->hasPages())
<nav class="pagination" role="navigation" aria-label="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<button class="pagination-previous" disabled>@lang('pagination.previous')</button>
@else
<a class="pagination-previous" href="{{ $paginator->previousPageUrl() }}"
rel="prev" aria-label="@lang('pagination.previous')">@lang('pagination.previous')</a>
@endif