(2) If a voters' pamphlet is published by the county for a primary or general election, the pamphlet shall be published for the elective offices and ballot measures of the county and for the elective offices and ballot measures of each unit of local government located entirely within the county which will appear on the ballot at that primary or election. However, the offices and measures of a first-class or code city shall not be included in the pamphlet if the city publishes and distributes its own voters' pamphlet for the primary or election for its offices and measures. The offices and measures of any other town or city are not required to appear in the county's pamphlet if the town or city is obligated by ordinance or charter to publish and distribute a voters' pamphlet for the primary or election for its offices and measures and it does so. If the required appearance in a county's voters' pamphlet of the offices or measures of a unit of local government would create undue financial hardship for the unit of government, the legislative authority of the unit may petition the legislative authority of the county to waive this requirement. The legislative authority of the county may provide such a waiver if it does so not later than sixty days before the publication of the pamphlet and it finds that the requirement would create such hardship.