On construction under a contract advertised for bids after July 1, 1973, the legislative body of a city shall install on the surfaces of city streets upon which the operation of bicycles is permitted only those types of grates which are not hazardous to bicycle riders.