Deleting a record--appointment_delete & jquery in base.html