From cfc06e219c18764e97bc87a18257efe188f54941 Mon Sep 17 00:00:00 2001 From: yassipad Date: Tue, 27 Aug 2019 15:30:59 +0200 Subject: [PATCH] fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0af6b0a..5400f84 100644 --- a/README.md +++ b/README.md @@ -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()**.