Can you confirm me that in 2.0 we’ll still have CActiveForm for manage forms?
Thanks
Can you confirm me that in 2.0 we’ll still have CActiveForm for manage forms?
Thanks
I confirm that.
Now it looks this way:
<?php $form = ActiveForm::begin(['options' => ['id' => 'fmain']]); ?>
<?= $form->field($record, 'name')->textInput(); ?>
<?= $form->field($record, 'description')->textarea(['rows' => 10]); ?>
<?= $form->field($record, 'is_disabled')->checkBox(); ?>
<?php ActiveForm::end(); ?>