@extends('layouts.admin') @section('title', $resourceLabel) @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Institution Setup', 'href' => route('institution.dashboard')], ['label' => 'Campuses'], ]; $columns = [ ['key' => 'code', 'label' => 'Code'], ['key' => 'name', 'label' => 'Name'], ['key' => 'campus_type', 'label' => 'Type', 'render' => 'enum'], ['key' => 'capacity', 'label' => 'Capacity'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns')) @endsection