Your fish are honestly better off being left in the main tank.
Those breeder boxes are too small for the female fish to feel comfortable, and too small for fry to grow properly.
Just make sure your main tank has plenty of hiding places for the fry; lots of live plants are best.