public function init() { parent::init(); $this->setTitle('Edit Sponsor')->setAttrib('id', 'advgroup_sponsor_edit'); $this->submit->setLabel('Save Changes'); $this->addElement('Cancel', 'cancel', array('prependText' => ' or ', 'label' => 'Cancel', 'link' => true, 'href' => '', 'onclick' => 'parent.Smoothbox.close();', 'decorators' => array('ViewHelper'))); $this->addDisplayGroup(array('submit', 'cancel'), 'buttons'); }