Skip to content

Commit 2311720

Browse files
author
Igor Chepurnoy
committed
Update README.md
1 parent 8d97206 commit 2311720

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ to the require section of your composer.json.
2727

2828
Usage 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
5151
Usage 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
6767
echo $form->field($model, "firstName")->widget(\yii2mod\editable\Editable::className(), [

0 commit comments

Comments
 (0)