@php $name = ''; $id = !empty($id) ? $id : ''; if( !empty($repeater_id) ){ if( !empty($parent_rep) ){ $name = "$parent_rep".'['.$repeater_id.']['.$index.']['.$id.'][]'; }else{ $name = "$repeater_id".'['.$index.']['.$id.'][]'; $repeater_id = "$repeater_id".'['.$index.']'; } }else{ $name = !empty($id) ? $id.'[]' : ''; } @endphp @if( !empty($repeater_type) && $repeater_type == 'single' ) @else
  • @if( !empty($label_title) )
    {!! $label_title !!} @if( empty($repeater_id) && config('optionbuilder.developer_mode') == 'yes' ) setting(‘{{ $tab_key }}.{{$id}}’) @endif
    @if( !empty( $label_desc) ) {!! $label_desc !!} @endif
    @endif
    • @if( !empty($value) ) @if( is_array($value) ) @foreach($value as $single )
    • @php $path = asset('vendor/optionbuilder/images/file-preview.png'); if( !empty($single['path']) ){ $path = url(Storage::url($single['path'])); if($single['type'] == 'file'){ $path = asset('vendor/optionbuilder/images/file-preview.png'); } } @endphp
    • @endforeach @endif @endif
    @if( !empty($field_desc) ){!! $field_desc !!} @endif
  • @endif