Templating the poll app