frontend stuff for create poll template