{{ __('dashboard.categories') }}

@can('create', \App\Models\Category::class) {{ __('dashboard.new_category') }} @endcan
{{ __('dashboard.id') }} {{ __('dashboard.name') }} @forelse ($categories as $category) {{ $category->id }} {{ $category->name }}
@can('update', $category) @endcan @can('delete', $category) @endcan
@empty {{ __('dashboard.no') }} {{ __('dashboard.categories') }} {{ __('dashboard.found') }}. @endforelse
@if ($showModal)

{{ $editingId ? __('dashboard.edit') : __('dashboard.new_category') }}

{{ __('dashboard.cancel') }} {{ $editingId ? __('dashboard.update') : __('dashboard.create') }}
@endif @if ($confirmingDelete)

{{ __('dashboard.delete') }}

{{ __('dashboard.are_you_sure') }}

{{ __('dashboard.cancel') }} {{ __('dashboard.delete') }}
@endif