@forelse($data as $key => $value) @php $value = $value->toArray([]); $value = Arr::only($value, ['id', 'slug'])+form_merge_form($form['list'], $value, false) @endphp