@foreach ($fields as $item) @if ($item->type == 'select')
@elseif($item->type == 'text')
required)?'required':'' }} autocomplete="name" autofocus>
@endif @endforeach