adding a label to the form fields (Datatables column headers)
This commit is contained in:
parent
aaf2e5c2f6
commit
27b079ace9
11 changed files with 202 additions and 83 deletions
|
@ -193,11 +193,7 @@ class Application_Form_EditHistoryItem extends Zend_Form
|
|||
$label = $item[self::ITEM_ID_SUFFIX];
|
||||
$id = self::ID_PREFIX.$label;
|
||||
$el = new $formElType[self::ITEM_CLASS]($id);
|
||||
|
||||
//cleaning up presentation of tag name for labels.
|
||||
$label = implode(" ", explode("_", $label));
|
||||
$label = ucwords($label);
|
||||
$el->setLabel(_($label));
|
||||
$el->setLabel($item["label"]);
|
||||
|
||||
if (isset($formElType["attrs"])) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue