<div class="btn-group">
    @can($viewPermission)
        <a href="{{ $viewRoute }}" class="btn btn-sm btn-info" title="View">
            <i class="fa fa-eye" style="color:#fff;"></i>
        </a>
    @endcan
    @can($editPermission)
        <a href="{{ $editRoute }}" class="btn btn-sm btn-primary" title="Edit">
            <i class="fa fa-edit"></i>
        </a>
    @endcan
</div>
