@php if($row->type == 'checkbox'): @endphp
{{ formElement($form->get('custom_'.$row->id)) }}
{{ formElementErrors($form->get('custom_'.$row->id)) }}
@php elseif($row->type == 'radio'): @endphp
{{ formElement($form->get('custom_'.$row->id)) }}
{{ formElementErrors($form->get('custom_'.$row->id)) }}
@php else: @endphp
{{ formElement($form->get('custom_'.$row->id)) }}
{{ formElementErrors($form->get('custom_'.$row->id)) }}
@php endif; @endphp