diff --git a/ActiveField.php b/ActiveField.php index 3387c07..237b41a 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -71,17 +71,17 @@ use yii\helpers\ArrayHelper; * ]); * * // With 'default' layout you would use 'template' to size a specific field: - * // echo $form->field($model, 'demo', [ - * // 'template' => '{label}
{input}{error}{hint}
' - * // ]); + * echo $form->field($model, 'demo', [ + * 'template' => '{label}
{input}{error}{hint}
' + * ]); * - * // Input group - * echo $form->field($model, 'demo', [ - * 'inputTemplate' => '
@{input}
', - * ]); + * // Input group + * echo $form->field($model, 'demo', [ + * 'inputTemplate' => '
@{input}
', + * ]); * - * ActiveForm::end(); - * ``` + * ActiveForm::end(); + * ``` * * @see \yii\bootstrap\ActiveForm * @see http://getbootstrap.com/css/#forms