Witam
chciałbym dodać <br/> przed </form> w Zend_Form

mój form wygląda tak
  1. <?php
  2.  
  3. class Admin_Form_Page extends Zadoo_Form {
  4.  
  5. function init ()
  6. {
  7. $this
  8. ->setAction($this->getView()->url())
  9. ->setMethod('post')
  10. ->setAttrib('id', 'adminForm')
  11. ;
  12.  
  13. // tutaj są poszczególne elementy formularza
  14.  
  15. $this->addDisplayGroup(
  16. array('text'),
  17. 'tresc',
  18. array('legend'=>'Treść')
  19. );
  20.  
  21. $this->addDisplayGroup(
  22. array('title', 'published', 'frontpage', 'categoryid', 'visible_from', 'visible_to', 'access'),
  23. 'ustawienia',
  24. array('legend' => 'Ustawienia')
  25. );
  26.  
  27. $text = $this->getDisplayGroup('tresc');
  28. $text->setDecorators(array(
  29. array('FormElements'),
  30. array('HtmlTag',array('tag'=>'div', 'style'=>'width:720px; float:left'))
  31. ));
  32.  
  33. $ustawienia = $this->getDisplayGroup('ustawienia');
  34. $ustawienia->setDecorators(array(
  35. array('FormElements'),
  36. array('HtmlTag',array('tag'=>'div','style'=>'width:220px; float:right'))
  37. ));
  38.  
  39. }
  40.  
  41. }