The city was ordered to teach staff at the long-term-care home about managing violent patients.