templates for instance detail view