diff --git a/ActiveField.php b/ActiveField.php index 96ce103..5dccf27 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -254,7 +254,7 @@ class ActiveField extends \yii\widgets\ActiveField 'labelOptions' => ['class' => 'checkbox-inline'], ]; } - } elseif (!isset($options['item'])) { + } elseif (!isset($options['item'])) { $options['item'] = function ($index, $label, $name, $checked, $value) { return '
' . Html::checkbox($name, $checked, ['label' => $label, 'value' => $value]) . '
'; }; @@ -280,7 +280,7 @@ class ActiveField extends \yii\widgets\ActiveField 'labelOptions' => ['class' => 'radio-inline'], ]; } - } elseif (!isset($options['item'])) { + } elseif (!isset($options['item'])) { $options['item'] = function ($index, $label, $name, $checked, $value) { return '
' . Html::radio($name, $checked, ['label' => $label, 'value' => $value]) . '
'; }; diff --git a/Html.php b/Html.php index 95f2e25..1941106 100644 --- a/Html.php +++ b/Html.php @@ -19,4 +19,4 @@ namespace yii\bootstrap; */ class Html extends BaseHtml { -} \ No newline at end of file +}