Commit 623fdf77 authored by Shakarim Sapa's avatar Shakarim Sapa

- Проверяем BaseForm

parent 54e1c744
......@@ -101,7 +101,7 @@ class BaseForm extends \yii\widgets\ActiveForm
$config['options'][] = $this->field($this->model, $key, $optEl)->radio($opt);
break;
case 'text':
$config['options'][] = 'BlaBla';
$config['options'][] = $this->field($this->model, $key, $optEl)->textInput($element['type'], $opt);
break;
case 'email':
$tmp = $this->field($this->model, $key, $optEl)->input($element['type'], $opt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment