@extends('layouts.admin') @section('title', 'SEO') @php $label = $model->title ?? $model->name ?? $model->slug ?? ('#'.$model->getKey()); @endphp @section('content') @php $indexRoute = match ($entity) { 'page' => 'admin.pages.index', 'product' => 'admin.products.index', 'product-category' => 'admin.product-categories.index', 'service' => 'admin.services.index', 'blog' => 'admin.blog.index', default => 'admin.dashboard', }; $indexParams = $entity === 'service' ? ['type' => $model->type] : []; @endphp
@csrf @method('PUT')
Back
@endsection