{{-- Previous --}} @if(isset($prevId) && $prevId > 0) @else « Previous @endif {{-- Next --}} @if(isset($nextId) && $nextId) @else Next » @endif