Fixed spacing/tabs standard in tpl file. Mentioned in issue #979 but pull request was incorrect as it used tabs - this is the correct fix. Close #979