@include('crud::inc.field_translatable_icon') {{-- Show the file name and a "Clear" button on EDIT form. --}} @if (isset($field['value'])) @php if (is_string($field['value'])) { $values = json_decode($field['value'], true) ?? []; } else { $values = $field['value']; } @endphp @if (count($values))
@foreach($values as $key => $file_path)
@if (isset($field['temporary'])) {{ $file_path }} @else {{ $file_path }} @endif
@endforeach
@endif @endif {{-- Show the file picker on CREATE form. --}} {{-- HINT --}} @if (isset($field['hint']))

{!! $field['hint'] !!}

@endif
{{-- FIELD EXTRA JS --}} {{-- push things in the after_scripts section --}} @push('crud_fields_scripts') @endpush