Before any city of the second class or village makes any contract with any person or corporation relating in any manner whatever to the erection of a proposed power plant, electric or other light works as provided in section 17-906, the question as to whether such power plant, electric or other light works shall be erected shall be duly submitted to the electors voting at any regular or special election upon the proposition, and such city of the second class or village may by a majority of the votes cast at such election vote bonds in an amount not in excess of seven percent of the taxable valuation of such city or village for the purpose of defraying the cost of such plant. The question of issuing such bonds shall be submitted to the electors at an election held for that purpose after not less than thirty days' notice thereof has been given by publication in a legal newspaper in or of general circulation in such city or village. Such bonds shall bear interest, payable annually or semiannually, and shall be payable any time the city or village may determine at the time of their issuance but in not more than twenty years after their issuance. The city or village shall have the option of paying any or all of such bonds at any time after five years from their date.