From 2d0a88006954b24b89b28f5bc0a3e70db8b17360 Mon Sep 17 00:00:00 2001 From: Stephen Packer Date: Fri, 6 Jun 2014 13:22:09 -0700 Subject: [PATCH] Fix case for ActiveField::checkboxTemplate use --- ActiveField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActiveField.php b/ActiveField.php index 3078169..8f5037d 100644 --- a/ActiveField.php +++ b/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']);