The New Hampshire House passed a bill Wednesday to restrict what type of flags can be displayed in public schools.