From: Vincent Vanwaelscappel Date: Mon, 30 May 2022 13:36:49 +0000 (+0200) Subject: wip #5300 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4e52e0b919335bc817334fbe6553e5c4a22c1339;p=cubist_cms-back.git wip #5300 --- diff --git a/src/resources/views/inc/show_bunch_fields.blade.php b/src/resources/views/inc/show_bunch_fields.blade.php index 854cb9d..7e836cd 100644 --- a/src/resources/views/inc/show_bunch_fields.blade.php +++ b/src/resources/views/inc/show_bunch_fields.blade.php @@ -1,14 +1,14 @@ {{-- Show the inputs --}} -
-@foreach ($bunchfields as $field) -@if(isset($keyvalue) && $keyvalue && !stristr($field['name'],'___key') && !stristr($field['name'],'___value')) -@continue -@endif +
+ @foreach ($bunchfields as $field) + @if(isset($keyvalue) && $keyvalue && !stristr($field['name'],'___key') && !stristr($field['name'],'___value')) + @continue + @endif -@php - $fieldsViewNamespace = $field['view_namespace'] ?? 'crud::fields'; -@endphp + @php + $fieldsViewNamespace = $field['view_namespace'] ?? 'crud::fields'; + @endphp -@include($fieldsViewNamespace.'.'.$field['type'], ['field' => $field]) -@endforeach + @include($fieldsViewNamespace.'.'.$field['type'], ['field' => $field]) + @endforeach