@php $is_custom_form = false @endphp
@if(!empty($row))
@if($row->is_custom_form)
@php $is_custom_form = true; @endphp
@else
@php $is_custom_form = false; @endphp
@endif
@else
@php $is_custom_form = false; @endphp
@endif
@if($is_editable)
{{ Form::checkbox('is_customform', 1, $is_custom_form, array('class'=>'hme-pro-switch-label','id'=>'is_custom_form')) }}
@else
{{ Form::checkbox('is_customform', 1, $is_custom_form, array('class'=>'hme-pro-switch-label','id'=>'is_custom_form', 'disabled' => true)) }}
@endif