|
|
@ -71,9 +71,9 @@ 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', [ |
|
|
|