@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('Category') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif {{ __('Category') }} @can('category.create') {{ __('Create') }} {{ __('Category') }} @endcan
@forelse($categories as $category) @empty @endforelse
{{ __('Name') }} {{ __('Description') }} {{ __('Action') }}
{{ $category->name }} {{ $category->description }} @can('category.edit') {{ __('Edit') }} @endcan @can('category.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan
{{ __('Empty') }}
{{ $categories->links('vendor.pagination.bootstrap-4') }}