use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model modelClass ?> */ /* @var $form ActiveForm */ " ?>
$form = ActiveForm::begin(); ?> getModelAttributes() as $attribute): ?> $form->field($model, '') ?>
Html::submitButton(generateString('Submit') ?>, ['class' => 'btn btn-primary']) ?>
ActiveForm::end(); ?>