public function renderConfirmationForm($btn = "Yes, assign", $addHtml = null) { $select = sprintf('<select name="%s__group_id"> %s </select><br /><br />' . PHP_EOL, $this->grid->getId(), Am_Controller::renderOptions(Am_Di::getInstance()->resourceCategoryTable->getOptions())); return parent::renderConfirmationForm($this->remove ? ___("Yes, remove category") : ___("Yes, assign category"), $select); }
public function renderConfirmationForm($btn = "Yes, assign", $addHtml = null) { $select = sprintf('%s <select name="%s__product_id"> %s </select><br /><br />' . PHP_EOL, ___('Put Chosen Products After'), $this->grid->getId(), Am_Controller::renderOptions(Am_Di::getInstance()->productTable->getOptions())); return parent::renderConfirmationForm(___("Change Order"), $select); }