1. Christoffer Niska
  2. yii-bootstrap

Pull requests

#37 Declined
Repository
Deleted repository
Branch
default (fc5f285f464a)
Repository
yii-bootstrap
Branch
default

fixed label generation for tabular input

Author
  1. pavimus
Reviewers
Description

before getting attribute label by $this->model->getAttributeLabel($attributeName) we must call CHtml::resolveName($this->model,$attributeName)

This will remove square brackets from attribute name when using tabular input. Otherwise instead label "Is Active" we can get something like "[0]Is Active".

  • Learn about pull requests

Comments (0)