Sec. 12-5. Restraint and confinement--Generally.

(a) It shall be unlawful for the owner or keeper of any dog to fail to keep his dog under restraint or to permit his dog to run at large upon the streets and public ways of the town or upon property other than that of the owner or keeper.

(b) No owner, keeper or custodian of any animal shall fail to exercise proper care and control of such animal to prevent the animal from becoming a public nuisance.