{{-- Show the inputs --}} @foreach ($fields as $field) @php $fieldsViewNamespace = $field['view_namespace'] ?? 'crud::fields'; @endphp @include($fieldsViewNamespace.'.'.$field['type'], ['field' => $field]) @endforeach