Every public school in Minnesota must display an appropriate United States flag when in session. The flag shall be displayed upon the school grounds or outside the school building, on a proper staff, on every legal holiday occurring during the school term and at such other times as the board of the district may direct. The flag must be displayed within the principal rooms of the school building at all other times while school is in session.