Poll template

You know how I hate duplicated code... :P