The governing body of a municipality may provide by ordinance that no write-in vote for any municipal office shall be counted unless an affidavit of intent has been filed with the clerk by the person whose name is written in prior to sixty-four days before the day of the election indicating that such person desires the office and is qualified to assume the duties of that office if elected.
C.R.S. § 31-10-306