• @if( !empty($label_title) )
    {!! $label_title !!} @if( config('optionbuilder.developer_mode') == 'yes' ) setting(‘{{ $tab_key }}.{{$id}}’) @endif
    @if( !empty( $label_desc) ) {!! $label_desc !!} @endif
    @endif
    @if( !empty($value) && is_array($value) ) @foreach($value as $i=> $single ) @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file')
    @endif
    @if( !empty($field) && is_array($field) ) @php $field['repeater_type'] = 'single'; $field['repeater_id'] = $id; $field['index'] = $i; if( $field['id'] == key($single) ){ $field['value'] = $single[key($single)]; } if( !empty($repeater_id) ){ $field['parent_rep'] = "$repeater_id".'['.$index.']'; } @endphp {!! getField($field) !!} @endif @if(!isset($edit) || !empty($edit)) @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file') {{ __('optionbuilder::option_builder.remove') }} @endif @endif
    @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file')
    @endif @endforeach @else @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file')
    @endif
    @if( !empty($field) && is_array($field) ) @php $field['repeater_type'] = 'single'; $field['repeater_id'] = $id; $field['index'] = rand(1,999).time(); if( !empty($repeater_id) ){ $field['parent_rep'] = "$repeater_id".'['.$index.']'; } @endphp {!! getField($field) !!} @endif @if(!isset($edit) || !empty($edit)) @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file') {{ __('optionbuilder::option_builder.remove') }} @endif @endif
    @if( $field['type'] == 'switch'|| $field['type'] == 'checkbox' || $field['type'] == 'radio' || $field['type'] == 'file')
    @endif @endif @if(!isset($edit) || !empty($edit)) @endif