FIx little typo

ontemplate should be onetemplate