@if(!empty($user))
Ubah
@else
Tambah
@endif
@csrf @if(!empty($user)) *) Kosongi apabila tidak diubah @endif
@if(!empty($user)) @endif