/** * Add the cancel button */ protected function addButtons() { $this->addPreviousButton(); $this->addNextButton(); $element = new \MUtil_Form_Element_Exhibitor('button_spacer'); $element->setValue(' '); $element->setDecorators(array('ViewHelper')); $this->_form->addElement($element); $this->addCancelButton(); $this->addFinishButton(); $this->_form->addDisplayGroup(array($this->_previousButton, $this->_nextButton, $element, $this->_cancelButton, $this->_finishButton), 'buttons'); $group = $this->_form->getDisplayGroup('buttons'); $group->removeDecorator('DtDdWrapper'); $group->removeDecorator('HtmlTag'); }