template view for vote