@php $w = @$option['w'] ?? 450; $h = @$option['h'] ?? 300; @endphp
@if (@$item->photo) @else @endif

{{ __('Image size') }} ({{ @$option['image_size'] ?? '900×600' }}) {!! __('px') !!}

@if (@$option['banner'])
@if (@$item->banner) @else @endif

{{ __('Banner size') }} ({{ @$option['banner_size'] ?? '1200×300' }}) {!! __('px') !!}

@endif @if (@$option['video']) @endif @if (@$option['gallery'])
@if (@$item && @$item->hasMedia('gallery')) @foreach (@$item->getMedia('gallery') as $key => $image) @php // dump($image); @endphp @endforeach @endif

{{ __('Image size') }} (900×600) {!! __('px') !!}

@endif @if (@$option['pdf'])

{!! __('Allowed files') !!} PDF {!! __('Only') !!}

@if (@$item) @php $allAttachments = $item->attachments()->get(); @endphp
@if ($allAttachments->count()) @foreach ($allAttachments as $key => $attachment) @endforeach
{!! __('Name') !!} {!! __('Delete') !!}
{{ $key+1 }} {!! __('Edit filename') !!}
@endif
@endif
@endif