create template to edit a class