updating template helpers to better syntax
Merge pull request #371 from SachaG/master

updating template helpers to better syntax