ticket:8 refactoring: pass to tpl object instead of dict

tag requires object, not dict, to be rendered
iticket:8 add tag into template
ticket:8 ooops... copy'n'paste error

isn't detected by unittests