@foreach($form['fields'] as $key => $fields)
{!!$form['groups'][$key]['name']!!}
@foreach($fields as $key => $field)
{!! Form::input($field['key']) ->apply($field) ->mode($mode) !!}
@endforeach
@endforeach