A governing body may require students to furnish and wear nonspecialized attire meeting general written guidelines for specified courses and activities if the written guidelines are reasonably related to the course or activity.