Fix little typo

ontemplate should be onetemplate