Added election code to district assign front-end