How to embed a form properly?