@php
    $current = empty($current) ? 'active' : $current;
@endphp
<ul class="nav nav-tabs">
    @foreach($statuses as $statusKey => $status)
        <li class="{{ (strtolower($current) == $status) ? 'active' : '' }}"><a href="{{ route($route, ['status' => $status]) }}">{{ ucwords($status) }}</a></li>
    @endforeach
</ul>
