Hi guys!
Tell me please, where error:
public function categoryEditAction()
{
$cid = $this->dispatcher->getParam('id');
$category = Categories::findFirst( $cid );
$form = new Form( $category );
$form->add(new Text("name"));
$this->forms->set('categoryEdit', $form);
}
{{ form.render('categoryEdit') }}
returned error Notice: Undefined variable: form in ...