*/ class Mage_Widget_Block_Adminhtml_Widget_Instance_Edit_Form extends Mage_Adminhtml_Block_Widget_Form { /** * Prepare form before rendering HTML * * @return Mage_Widget_Block_Adminhtml_Widget_Instance_Edit_Form */ protected function _prepareForm() { $form = new Varien_Data_Form(array('id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post')); $form->setUseContainer(true); $this->setForm($form); return parent::_prepareForm(); } }