diff --git a/src/resources/views/crud/columns/inc/wrapper_end.blade.php b/src/resources/views/crud/columns/inc/wrapper_end.blade.php index a853676fbf..9c097bf98b 100644 --- a/src/resources/views/crud/columns/inc/wrapper_end.blade.php +++ b/src/resources/views/crud/columns/inc/wrapper_end.blade.php @@ -9,4 +9,7 @@ } @endphp +@if($column['wrapper']['suffix'] ?? false) +{{ $column['wrapper']['suffix'] }} +@endif diff --git a/src/resources/views/crud/columns/inc/wrapper_start.blade.php b/src/resources/views/crud/columns/inc/wrapper_start.blade.php index 69270e95ef..12bfdb0f03 100644 --- a/src/resources/views/crud/columns/inc/wrapper_start.blade.php +++ b/src/resources/views/crud/columns/inc/wrapper_start.blade.php @@ -10,7 +10,10 @@ @endphp <{{ $column['wrapper']['element'] ?? 'a' }} -@foreach(Arr::except($column['wrapper'], 'element') as $element => $value) +@foreach(Arr::except($column['wrapper'], ['element', 'prefix', 'suffix']) as $element => $value) {{$element}}="{{$value}}" @endforeach -> \ No newline at end of file +> +@if($column['wrapper']['prefix'] ?? false) +{{ $column['wrapper']['prefix'] }} +@endif \ No newline at end of file