diff --git a/extensions/bootstrap/ActiveField.php b/extensions/bootstrap/ActiveField.php index 3387c074de4..237b41a2d4a 100644 --- a/extensions/bootstrap/ActiveField.php +++ b/extensions/bootstrap/ActiveField.php @@ -71,17 +71,17 @@ * ]); * * // With 'default' layout you would use 'template' to size a specific field: - * // echo $form->field($model, 'demo', [ - * // 'template' => '{label} <div class="row"><div class="col-sm-4">{input}{error}{hint}</div></div>' - * // ]); + * echo $form->field($model, 'demo', [ + * 'template' => '{label} <div class="row"><div class="col-sm-4">{input}{error}{hint}</div></div>' + * ]); * - * // Input group - * echo $form->field($model, 'demo', [ - * 'inputTemplate' => '<div class="input-group"><span class="input-group-addon">@</span>{input}</div>', - * ]); + * // Input group + * echo $form->field($model, 'demo', [ + * 'inputTemplate' => '<div class="input-group"><span class="input-group-addon">@</span>{input}</div>', + * ]); * - * ActiveForm::end(); - * ``` + * ActiveForm::end(); + * ``` * * @see \yii\bootstrap\ActiveForm * @see http://getbootstrap.com/css/#forms