@if(isset($id)) {{ html()->modelForm($data, 'PATCH', route('staticdata.update', $id))->id('parceltype_form')->open() }} @else {{ html()->form('POST', route('staticdata.store'))->id('parceltype_form')->open() }} @endif