@php $textValue = \App\Enums\Frontend\InputField::TEXT->value; $iconValue = \App\Enums\Frontend\InputField::ICON->value; $imagesValue = Illuminate\Support\Arr::has($section, $content_type.'.images'); $images = null; if($imagesValue){ $images = array_keys(Illuminate\Support\Arr::get($section, $content_type.'.images')); } @endphp @if (isset($section[$content_type]))

{{ __('Enhancement Contents') }}

@if ($imagesValue) @foreach($images as $key => $image) @endforeach @endif @foreach ($section[$content_type] as $key => $item) @if (in_array($item, [$textValue, $iconValue])) @endif @endforeach @forelse ($contents as $content) @if ($imagesValue) @foreach($images as $key => $image) @endforeach @endif @foreach ($section[$content_type] as $key => $item) @if (in_array($item, [$textValue, $iconValue])) @endif @endforeach @empty @endforelse
{{ __('#') }}{{ __(replaceInputTitle($image ?? '')) }}{{ __(replaceInputTitle($key)) }}{{ __('admin.table.action') }}
{{ $loop->iteration }} @if(isset($content->meta[$image])) {{ __($image) }} @endif {{ $content->meta[$key] ?? '' }}
{{ __('No Data Found') }}
@endif