fix template editor in https admin
Merge pull request #93 from apreiml/master

fix template editor in https admin