Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yassilah committed Aug 27, 2019
1 parent a3844d2 commit cfc06e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ NestedForm::make('Posts')->open(true),
You can modify the default heading using the heading() method. You can use the helper method **wrapIndex()** to add the current child index to your header.

```php
NestedForm::make('Posts')->heading(NestedForm::wrapIndex() . ' // ' . Post'),
NestedForm::make('Posts')->heading(NestedForm::wrapIndex() . ' // Post'),
```

You can also add any attribute of the current child into your heading using the helper method **wrapAttribute()**.
Expand Down

0 comments on commit cfc06e2

Please sign in to comment.