(a) Upon the adoption by the board of any resolution providing for the issuance of bonds, the corporation may, in its discretion, cause to be published once a week for two consecutive weeks in a newspaper published in the county a notice in substantially the following form (the blanks being properly filled in) at the end of which shall be printed the name and title of either the chairman or secretary of the corporation:
"Notice of proposed issuance of revenue bonds of _____ (name of corporation). The above named public corporation which is a political subdivision of the State of Alabama on the _____ day of _____, adopted a resolution authorizing the issuance of $_____ principal amount of the revenue bonds of said corporation for ______, which is a project authorized and permitted by the act of the Legislature of Alabama under which said corporation was organized. Any civil action or proceeding questioning the validity of the said bonds or pledge of any rent, revenues or income to the payment thereof or the indenture under which said bonds will be issued or the proceedings authorizing the same must be commenced within 20 days after the first publication of this notice."
(b) Any civil action or proceeding in any court to set aside, contest or question the legality of the bonds referred to in said notice or the proceedings authorizing the issuance of such bonds or the validity of the pledges made therefor or the indenture under which they are to be issued must be commenced within 20 days after the first publication of such notice. After the expiration of said period, no right of action or defense questioning or attacking the validity of said proceedings or the said bonds or the said pledges or indenture shall be asserted nor shall the validity of the said proceedings, bonds, pledges or indenture be open to question in any court on any grounds whatsoever except in a civil action commenced within such period.