Adds template changes from arun/sold_bets branch