@if($type == 'edit')
@method('PUT') @else @method('POST') @endif @csrf