fix(generator): add closing template tag

The decorator template was missing a closing template tag.
Merge branch 'pr/542'

Close #542