Skip to content

Commit

Permalink
Update ICheck.php
Browse files Browse the repository at this point in the history
  • Loading branch information
phpNT authored Dec 15, 2017
1 parent a167522 commit 50981b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ICheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ public function run()

switch ($this->type) {
case 'checkbox':
echo Html::activeInput('checkbox', $this->model, $this->attribute, $this->options);
echo Html::activeCheckbox($this->model, $this->attribute, $this->options);
break;
case 'checkbox-list':
echo Html::activeCheckboxList($this->model, $this->attribute, $this->items, $this->options);
break;
case 'radio':
echo Html::activeInput('radio', $this->model, $this->attribute, $this->options);
echo Html::activeRadio($this->model, $this->attribute, $this->options);
break;
case 'radio-list':
echo Html::activeRadioList($this->model, $this->attribute, $this->items, $this->options);
Expand Down Expand Up @@ -191,4 +191,4 @@ private function getCheckOptions() {
break;
}
}
}
}

0 comments on commit 50981b8

Please sign in to comment.