(1) detains any child from attending school at the prescribed times and places, without authority of lawful regulation; or
(2) performs or omits any act whereby any child under his control, directly or indirectly, is hindered from regular attendance at school—
shall be fined not more than $20 for each day's absence.