Updated poll index view to use the render shortcut function