@if ($general->where('type', $type)->count())
@lang('General Permissions')
@endif
@if ($general->where('type', $type)->count() && $categories->where('type', $type)->count())
@endif
@if ($categories->where('type', $type)->count())
@lang('Permission Categories')
@endif
@if (!$general->where('type', $type)->count() && !$categories->where('type', $type)->count())
@lang('There are no additional permissions to choose from for this type.')
@endif