@adminCan('blog.category.create')
@endadminCan
@adminCan('blog.category.update') @endadminCan @if (checkAdminHasPermission('blog.category.edit') || checkAdminHasPermission('blog.category.delete')) @endif @forelse ($categories as $category) @adminCan('blog.category.update') @endadminCan @if (checkAdminHasPermission('blog.category.edit') || checkAdminHasPermission('blog.category.delete')) @endif @empty @endforelse
{{ __('SN') }} {{ __('Name') }} {{ __('Slug') }}{{ __('Status') }}{{ __('Actions') }}
{{ $loop->index + 1 }} {{ $category->title }} {{ $category->slug }} status ? 'checked' : '' }} data-toggle="toggle" data-onlabel="{{ __('Active') }}" data-offlabel="{{ __('Inactive') }}" data-onstyle="success" data-offstyle="danger">
@adminCan('blog.category.edit') @endadminCan @adminCan('blog.category.delete') @endadminCan
{{ $categories->links() }}