File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ to the require section of your composer.json.
2727
2828Usage Editable column
2929---------------------------------------
30- In your gridview columns section
30+ 1 ) In your gridview columns section
3131``` php
3232 [
3333 'class' => EditableColumn::className(),
3434 'attribute' => 'username',
3535 'url' => ['change-username'],
3636 ],
3737```
38- And add to your controller
38+ 2 ) And add to your controller
3939``` php
4040 public function actions()
4141 {
@@ -51,7 +51,7 @@ And add to your controller
5151Usage Editable widget
5252---------------------------------
5353
54- As a widget with a model
54+ 1 ) As a widget with a model
5555
5656``` php
5757\yii2mod\editable\Editable::widget( [
@@ -61,7 +61,7 @@ As a widget with a model
6161]);
6262```
6363
64- With ActiveForm
64+ 2 ) With ActiveForm
6565
6666``` php
6767echo $form->field($model, "firstName")->widget(\yii2mod\editable\Editable::className(), [
You can’t perform that action at this time.
0 commit comments