@extends('layouts.main') @section('content')
{{ $title }}
{{-- Show translate fields --}} @php $translate = $blogCategory->translate; if (is_string($translate)) { $translate = json_decode($translate, true); } @endphp @if (is_array($translate)) @foreach($translate as $lang => $fields) @foreach ($fields as $tKey => $tVal) @endforeach @endforeach @else @endif {{-- created_by field --}} {{-- updated_by field --}} {{-- created_at field --}} {{-- updated_at field --}}
{{ __('ID') }} {{ $blogCategory->id }}
{{ __('Translate') }}
{{ strtoupper($lang) }}
{!! __('validation.attributes.' . $tKey) == 'validation.attributes.' . $tKey ? $tKey : __('validation.attributes.' . $tKey) !!} {!! $tVal !!}
{{ __('translate') }} {{ $blogCategory->translate }}
{{ __('validation.attributes.created_by') }} {{ $blogCategory->created_by }}
{{ __('validation.attributes.updated_by') }} {{ $blogCategory->updated_by }}
{{ __('validation.attributes.created_at') }} {{ $blogCategory->created_at }}
{{ __('validation.attributes.updated_at') }} {{ $blogCategory->updated_at }}
@endsection