@lang('common.createNew')
@csrf
@if ($locales->count() > 1) @endif
@foreach ($locales as $index => $locale) @if (isset($category)) @php($category_locale = $category->translate($locale->locale)) @endif
@lang('common.slugHelp')
@lang('common.descriptionHelp')
@endforeach
@lang('admin.manageCategories')
@forelse ($categories as $category) @if (!$category->children->isEmpty()) @foreach ($category->children as $children) @endforeach @endif @empty @endforelse
@lang('common.title') @lang('common.description') @lang('common.count') @lang('common.action')
{{ $category->name }} {{ $category->description }} {{ $category->posts_count ?? 0 }}
@method('DELETE') @csrf
— {{ $children->name }} {{ $children->description }} {{ $children->posts_count ?? 0 }}
@method('DELETE') @csrf
@lang('common.noRecordsFund')
@if ($categories->hasPages()) @endif