From: Vincent Vanwaelscappel Date: Fri, 30 Jun 2023 16:31:42 +0000 (+0200) Subject: wip #5401 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9a0965768032c7ff3b9d83922b759f97216bba3b;p=cubist_cms-back.git wip #5401 @1 --- diff --git a/src/app/Magic/Fields/CheckboxMultiple.php b/src/app/Magic/Fields/CheckboxMultiple.php new file mode 100644 index 0000000..f3bf8c0 --- /dev/null +++ b/src/app/Magic/Fields/CheckboxMultiple.php @@ -0,0 +1,8 @@ + +@include('crud::fields.inc.wrapper_start') + + + +@if(isset($field['show_selected_option']) && $field['show_selected_option']) +

{{__('Valeur actuelle : ')}}

+@endif +{{-- HINT --}} +@if (isset($field['hint'])) +

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

+@endif + + +@include('crud::fields.inc.wrapper_end') + +{{-- ########################################## --}} +{{-- 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') + + @endpush + +@endif +{{-- End of Extra CSS and JS --}} +{{-- ########################################## --}}