diff --git a/src-phpws-legacy/src/PHPWS_Form.php b/src-phpws-legacy/src/PHPWS_Form.php index 42eb7952d..912ffd670 100644 --- a/src-phpws-legacy/src/PHPWS_Form.php +++ b/src-phpws-legacy/src/PHPWS_Form.php @@ -1642,11 +1642,12 @@ public static function formTextField($name, $value, $size = 30, $maxsize = 255, return $element->get(); } - public static function formTextArea($name, $value = null, $rows = DFLT_ROWS, $cols = DFLT_COLS, $label = null) + public static function formTextArea($name, $value = null, $rows = DFLT_ROWS, $cols = DFLT_COLS, $label = null, $class = 'form-control') { $element = new Form_TextArea($name, $value); $element->setRows($rows); $element->setCols($cols); + $element->setClass($class); return $element->get(); }