/** * Parse the form * * @return void */ protected function parse() { parent::parse(); $this->tpl->assign('id', $this->record['id']); $this->tpl->assign('title', $this->record['title']); // delete allowed? $this->tpl->assign('showSlideshowDeleteCategory', BackendSlideshowModel::deleteCategoryAllowed($this->id)); }