view classes to template output