@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_heading'] }}

{{ $data['p_description'] }}

@if(sizeof($data['categories']) > 0)
@foreach($data['categories'] as $category) @endforeach
ID Name Slug Display Mode Status Actions
{{ $category->id }} {{ $category->name }} {{ $category->slug }} {{ \App\Models\Category::$display_mode[$category->display_mode] }} @if($category->status == 'Y') Active @else In-active @endif
@method('DELETE') @csrf
@else Sorry!, no categories found. @endif
@stop