How do I insert a template into my own form