Browse Source

Merge branch 'master' of git://github.com/yiisoft/yii2

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
bb07aebe7e
  1. 2
      extensions/bootstrap/ActiveField.php

2
extensions/bootstrap/ActiveField.php

@ -206,7 +206,7 @@ class ActiveField extends \yii\widgets\ActiveField
if ($enclosedByLabel) {
if (!isset($options['template'])) {
$this->template = $this->form->layout === 'horizontal' ?
$this->horizontalCheckboxTemplate : $this->checkBoxTemplate;
$this->horizontalCheckboxTemplate : $this->checkboxTemplate;
} else {
$this->template = $options['template'];
unset($options['template']);

Loading…
Cancel
Save