@extends('layouts.main')
@section('content')
@foreach($term->toArray() as $key => $val)
@if (is_array($val))
@if (!in_array($key, ['creator', 'editor']))
| {!! __('general.' . $key) !!} |
@foreach($val as $dKey => $dVal)
@if ($dKey !== 'id' && !Str::endsWith($dKey, '_id') && !Str::endsWith($dKey, '_by'))
| {!! __('validation.attributes.' . $dKey) == 'validation.attributes.' . $dKey ? $dKey : __('validation.attributes.' . $dKey) !!} |
{!! $dVal !!} |
@endif
@endforeach
@endif
@elseif ($key !== 'id' && !Str::endsWith($key, '_id') && !Str::endsWith($key, '_by'))
| {!! __('validation.attributes.' . $key) == 'validation.attributes.' . $key ? $key : __('validation.attributes.' . $key) !!} |
{!! $val !!} |
@endif
@endforeach
@endsection