A template for adding votes to several items in a database