@csrf

type == 1 ? 'checked' : ''}} name="type" value="1">
type == 2 ? 'checked' : ''}} value="2">