Browse Source

Remove double slash in the comment [skip ci]

close #7429
tags/2.0.3
pana1990 10 years ago committed by Carsten Brandt
parent
commit
8310e2245b
  1. 18
      ActiveField.php

18
ActiveField.php

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

Loading…
Cancel
Save