{{-- icon picker input --}}
@include('admin.panel.fields.inc.translatable_icon')
{{-- HINT --}} @if (isset($field['hint']))
{!! $field['hint'] !!}
@endif
@if ($xPanel->checkIfFieldIsFirstOfItsType($field, $fields)) @if($field['iconset'] == 'bootstrapicons') @push('crud_fields_styles') {{-- Elusive Icons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'elusiveicons') @push('crud_fields_styles') {{-- Elusive Icons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'flagicon') @push('crud_fields_styles') @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'fontawesome4') @push('crud_fields_styles') {{-- Font Awesome 4 --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'fontawesome5') @push('crud_fields_styles') {{-- Font Awesome 5 --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'glyphicon') @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'ionicons') @push('crud_fields_styles') {{-- Ionicons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'mapicons') @push('crud_fields_styles') {{-- Map Icons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'materialdesign') @push('crud_fields_styles') {{-- Material Icons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'octicons') @push('crud_fields_styles') {{-- Octicons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'typicons') @push('crud_fields_styles') {{-- Typicons --}} @endpush @push('crud_fields_scripts') @endpush @elseif($field['iconset'] == 'weathericons') @push('crud_fields_styles') {{-- Weather Icons --}} @endpush @push('crud_fields_scripts') @endpush @else @push('crud_fields_styles') {{-- Font Awesome 5 --}} @endpush @push('crud_fields_scripts') @endpush @endif {{-- FIELD EXTRA CSS --}} @push('crud_fields_styles') @endpush {{-- FIELD EXTRA JS --}} @push('crud_fields_scripts') {{-- Bootstrap-Iconpicker - set hidden input value --}} @endpush @endif {{-- Note: you can use @if ($xPanel->checkIfFieldIsFirstOfItsType($field, $fields)) to only load some CSS/JS once, even though there are multiple instances of it --}}