Every ordinance purporting to amend an ordinance shall set forth therein the section or sections of the original ordinance in the form that such section or sections will read, as amended. Every ordinance for the repeal of an ordinance shall refer to the ordinance to be repealed by its number and caption. Repeal of codified ordinances may be by reference to chapter and section numbers only, and amendment of codified ordinances may be by setting forth the chapter and section numbers and amended form thereof.