(a) It shall be the duty of each teacher in the public schools of Arkansas to keep an accurate record of attendance and nonattendance of all children enrolled in his or her class or classes.
(b) Any teacher failing to keep such record may have his or her license revoked for such failure.