Detail view

I've added a detail view as well as fixed a couple of spots in the template that had issues.