Add back template name

Template name is required for applying custom fields to that editing page.
Merge pull request #9 from benkutil/master

Add back template name