@extends('admin.layouts.app') @section('title', __('admins')) @section('content') @if ($errors->any())
# | Image | Name | Parent | Post Num | Action |
---|---|---|---|---|---|
{{ $key + 1 }} |
@if (Storage::disk('public')->exists('categoriePost/' . $category->image))
|
{{$category->name}} | {{-- @if ($category->parent) --}} {{ $category->parent ? $category->parent->name : '-' }} {{-- @endif --}} | {{-- {{$category->posts->count()}} --}} |