field($model, 'username') ?> field($model, 'password')->passwordInput() ?> field($model, 'rememberMe')->checkbox() ?>'btn btn-primary']) ?>
'custom-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => [ 'template' => "{label}\nIn this example, the ActiveForm widget is customized by adding an id, a custom CSS class, and a custom field template. The form fields are displayed in a horizontal layout using the Bootstrap CSS framework. The submit button is also styled using Bootstrap.{input}\n{error}", 'labelOptions' => ['class' => 'col-sm-2 control-label'], ], ]); ?> field($model, 'name') ?> field($model, 'email') ?>'btn btn-primary']) ?>