Logged In: NO

This is probably a related/same issue:

I have a template containing a <core:wrap> tag and some
form elements. I want to wrap these elements inside the
<form> tag of another template. However I get compiler
errors "input/label component must be nested inside form
component" etc.

Is this the problem described in the original comment?