rm templates in edit view