rendering form inside included template with part of form and radiolist

Notice: This thread is very old.
mcmatak
Member | 490
+
0
-

i have this form definition in latte

{form addPointForm}
	{include "../@buttons.latte", form => $form}
{/form}

and in buttons i have something like this

			{label finalAction:addPoint}
				{input finalAction:addPoint}
			{/label}

and the exception is

Undefined variable: _form

where is the problem? should not be the form passed into included template automatically?