BUG: Fix template not being rendered

There were a few errors in the template that have been fixed along with
some syntax errors in the HTML.

Fixes #249
Merge pull request #260 from ElDeveloper/issue-249

BUG: Fix template not being rendered