added poll view base and template