Fixing a template variable misspelling issue in the resource module.