1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #214 new

TbActiveForm::inputsList creates label inside label

Nikola Kovacs
created an issue

The default template is <label class="{labelCssClass}">{input}{label}</label>

{label} is replaced with CHtml::label($label, $htmlOptions['id'], $labelOptions);, i.e. another label tag.

label tags are not allowed inside label tags in Html5.

Comments (0)

  1. Log in to comment