protected function renderAfterFormLayout($form) { $title = '<h3>' . $this->getAfterFormLayoutTranslatedTitleContent() . '</h3>'; $element = new EditableDropDownCollectionElement($this->model, 'customFieldDataData', $form, array('specificValueFromDropDownAttributeName' => 'defaultValueOrder', 'baseLanguage' => Yii::app()->languageHelper->getBaseLanguage(), 'activeLanguagesData' => Yii::app()->languageHelper->getActiveLanguagesData(), 'labelsAttributeName' => 'customFieldDataLabels')); $content = ZurmoHtml::tag('div', array('class' => 'left-column full-width'), $title . $element->render()); return $content; }
protected function renderAfterFormLayout($form) { $content = ZurmoHtml::tag('h3', array(), Zurmo::t('ContactsModule', 'Contact Statuses')); $element = new EditableDropDownCollectionElement($this->model, 'contactStatesData', $form, array('specificValueFromDropDownAttributeName' => 'startingStateOrder', 'baseLanguage' => Yii::app()->languageHelper->getBaseLanguage(), 'activeLanguagesData' => Yii::app()->languageHelper->getActiveLanguagesData(), 'labelsAttributeName' => 'contactStatesLabels')); $content .= ZurmoHtml::tag('div', array('class' => 'left-column full-width'), $element->render()); return $content; }