@include('crud::inc.field_translatable_icon')
{{-- HINT --}}
@if (isset($field['hint']))
{!! $field['hint'] !!}
@endif
{{-- ########################################## --}}
{{-- Extra CSS and JS for this particular field --}}
{{-- If a field type is shown multiple times on a form, the CSS and JS will only be loaded once --}}
@if ($crud->checkIfFieldIsFirstOfItsType($field))
{{-- FIELD CSS - will be loaded in the after_styles section --}}
@push('crud_fields_styles')
@endpush
{{-- FIELD JS - will be loaded in the after_scripts section --}}
@push('crud_fields_scripts')
{{-- --}}
@php
$options = [
'selector' => 'textarea.tinymce',
'skin' => 'dick-light',
'plugins' => 'image,link,media,anchor',
];
if (isset($field['options']) && count($field['options'])) {
$options = array_merge($options, $field['options']);
}
@endphp
@endpush
@endif
{{-- End of Extra CSS and JS --}}
{{-- ########################################## --}}