spits out form with layout content embedded[BUGGY]