trying to add resident form to detail.html