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