@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View Blog Tag') @section('content')

{{ $blogTag->name }}

Tag Details

Name {{ $blogTag->name }}
Slug {{ $blogTag->slug }}
Description {{ $blogTag->description ?: 'No description' }}
Language {{ $blogTag->language->name ?? 'Unknown' }}
Sort Order {{ $blogTag->sort_order }}
Created At {{ customDateTimeFormate($blogTag->created_at) }}
Updated At {{ customDateTimeFormate($blogTag->updated_at) }}
@if ($blogTag->contents->count() > 0)

Products with this Tag

@foreach ($blogTag->contents as $content) @endforeach
Title Status Actions
{{ $content->title }} @php $statusClasses = [ 'published' => 'bg-green-100 text-green-800', 'draft' => 'bg-gray-100 text-gray-800', 'scheduled' => 'bg-blue-100 text-blue-800', 'archived' => 'bg-yellow-100 text-yellow-800', 'trash' => 'bg-red-100 text-red-800', 'default' => 'bg-gray-100 text-gray-800', ]; @endphp {{ ucfirst($content->status) }}
@include('backend::components.show-button', [ 'route' => route('admin.blog.show', $content->id), ]) @include('backend::components.edit-button', [ 'route' => route('admin.blog.edit', $content->id), ])
@endif
@endsection