view template for vote