Only the elector residents in a district shall have the right to vote in the election for the councilmember from that district, and all of the electors of said city shall have the right to vote on the mayor and the councilmember at large.