add template to polls