Added templates to views