@php $isEdit = ! empty($form); @endphp
@csrf @if($isEdit) @method('PUT') @endif

Fields