views and templating for polls and details