front end of voting template