php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
$form = ActiveForm::begin(); ?>
= $form->field($model, ‘name‘) ?>
= $form->field($model, ‘email‘) ?>
class="form-group">
= Html::submitButton(‘Submit‘, [‘class‘ => ‘btn btn-primary‘]) ?>
end(); ?>