/**
  * @return string
  */
 protected function renderRightSideContent()
 {
     $hiddenInputId = get_class($this->model) . '_displayAttributes';
     $hiddenInputName = get_class($this->model) . '[displayAttributes]';
     $idInputHtmlOptions = array('id' => $hiddenInputId);
     $content = ZurmoHtml::hiddenField($hiddenInputName, null, $idInputHtmlOptions);
     $content .= $this->form->error($this->model, 'displayAttributes', array('inputID' => $hiddenInputId));
     $content .= parent::renderRightSideContent();
     return $content;
 }
 protected function registerScripts()
 {
     parent::registerScripts();
     Yii::app()->clientScript->registerScript('showStructurePanels' . $this->form->getId(), "\n                \$('#show-filters-structure-div-link').click( function()\n                    {\n                        \$('#show-filters-structure-div').show();\n                        \$('#show-filters-structure-div-link').hide();\n                        return false;\n                    }\n                );");
 }