protected function parse() { parent::parse(); // assign form errors $this->tpl->assign('formErrors', (string) $this->frm->getErrors()); }