Fix deprecation warning in template
Merge pull request #3 from joelesalas/master

Fix deprecation warning in template