All ordinances shall be in writing and prepared or reviewed by the county attorney prior to their adoption by the board of commissioners.