@php $data = form_merge_form($form['fields'], compact('data', 'meta'), true) @endphp
@foreach($data['form'] as $key => $fields)

{!!$form['groups'][$key]!!}

@foreach($fields as $key => $field)
{!! Form::input($key) ->apply($field) ->mode($mode) !!}
@endforeach
@endforeach