All contracts shall be made or authorized by the council, and no contracts shall bind the city unless reduced to writing and approved by the council. All contracts, and all ordinances or resolutions making contracts or authorizing the same, shall be drawn by the city attorney or shall be submitted to him before authorization by the council. All formal contracts to which the city is a party shall be executed in behalf of the city by the mayor and attested by the city clerk.