/**
  *
  * @param Zend_Form_SubForm $form
  * @return string 
  */
 protected function getSubFormMarkup(Zend_Form_SubForm $form)
 {
     $content = '<h3 class="accordion-header"><a href="#">' . $form->getLegend() . '</a></h3>' . '<div id="' . $form->getId() . '" class="accordion-content"><ul><li>' . '<table cellspacing="0" cellpadding="0" border="0" align="left"><tbody>';
     $output = '';
     $elements = $form->getElements();
     if (is_array($elements)) {
         foreach ($elements as $element) {
             $element->setView($form->getView());
             $output = $this->getElementMarkup($element, $output);
         }
     }
     return $content . $output . '</tbody></table></li></ul></div>';
 }
 protected function getSubFormMarkup(Zend_Form_SubForm $form)
 {
     $content = '<div id="' . $form->getId() . '" class="tab">' . '<h2>' . $form->getLegend() . '</h2>' . '<table cellspacing="0" cellpadding="0" border="0" align="left"><tbody>';
     $this->tabContent[] = array('title' => $form->getLegend(), 'desc' => $form->getDescription());
     $output = '';
     $elements = $form->getElements();
     if (is_array($elements)) {
         foreach ($elements as $element) {
             $element->setView($form->getView());
             $output = $this->getElementMarkup($element, $output);
         }
     }
     return $content . $output . '</tbody></table></div>';
 }