(a) Any municipality levying a tax upon the gross receipts of hotel and motel accommodations or upon the gross receipts of restaurants, cafes, cafeterias, and similar establishments is authorized to pledge all or a specified portion of the receipts of such tax to the retirement of bonds for capital improvements.
(b) However, no such pledge or the issuance of such bonds shall be effective unless the pledge or the issuance of the bonds has been approved by a majority of the electors of the municipality voting on the question at an election held substantially in the manner provided in § 14-164-328.