retrieve form error in front office

This commit is contained in:
Manuel Raynaud
2013-07-01 11:10:52 +02:00
parent a14d3da90a
commit 3b5b29c6e0
8 changed files with 58 additions and 18 deletions

View File

@@ -79,16 +79,4 @@ class BaseAdminController extends ContainerAware
return $parser;
}
public function getFormFactory()
{
return BaseForm::getFormFactory($this->getRequest(), ConfigQuery::read("form.secret.admin", md5(__DIR__)));
}
public function getFormBuilder()
{
return $this->getFormFactory()->createBuilder("form");
}
}