Be it further enacted, that no officer or employee of the city, other than the mayor and councilmembers shall continue in the employment of the city after becoming a candidate for nomination of election to any city office.