{{ !isset($category) ? __('common.createNew') : __('common.edit') }}
@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')
@lang('common.descriptionHelp')
@endforeach @if ($isChildAllowed == 0)
@endif
@lang('admin.manageCategories')
@forelse ($categories as $category) @if (!$category->children->isEmpty()) @foreach ($category->children as $children) @endforeach @endif @empty @endforelse
@lang('common.name') @lang('common.title') @lang('common.count') @lang('common.action')
{{ $category->name }} {{ $category->meta_title }} {{ $category->type == 'post' ? $category->posts->count() : $category->tools->count() }}
@method('DELETE') @csrf
— {{ $children->name }} {{ $children->description }} {{ $category->type == 'post' ? $children->posts_count : $children->tools_count }}
@method('DELETE') @csrf
@lang('common.noRecordsFund')
@if ($categories->hasPages()) @endif
@if ((isset($category->type) && $category->type == 'tool') || (isset($type) && $type == 'tool')) @section('footer_scripts') @endsection @endif