@extends('admin.layouts.master') @section('title') {{ translate('Blog - Category') }} @endsection @section('content')
{{ translate('Add New') }}
{{ translate('All Categories') }}
{{--
--}} {{--
--}}
@php $a=1; @endphp @foreach ($categories as $category) @php $a++; @endphp @endforeach
# {{ translate('Category') }} {{ translate('Action') }}
{{$a}} {{$category->category_name}} @if($permissionForBlogsCategory !== null && $permissionForBlogsCategory->can_edit == '1') @endif @if($permissionForBlogsCategory !== null && $permissionForBlogsCategory->can_edit == '1') @endif
{{ translate('Add New Blog Category') }}
@if($permissionForBlogsCategory !== null && $permissionForBlogsCategory->can_create == '1')
@csrf
@error('title') {{ $message }} @enderror
@endif
@endsection @section('scripts') @endsection