changed to mako templates
fixed style problem
changed def to block
changed from self.blockname(), to block name=blockname
Merge pull request #5 from mjelonek92/bug_3101

[3101] Mako templates.