Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed May 25, 2023
1 parent 4121c91 commit cab8f39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ You can also pass more local variables to the partial by setting the partial_loc

```Ruby
link_to_add_nested(form, :order_items, '#order-items', partial_locals: { key: 'value' })
```
```

#### Tag

Expand Down Expand Up @@ -574,3 +574,7 @@ Thanks to @kikyous for the contribution!
Automated tests now run in multiple Ruby versions in CI.
This change has no impact in the use of the gem, but I wanted to thank @petergoldstein for their contribution!
#### New `partial_locals` option for `link_to_add_nested`
Now you can pass a new option with `locals` for the fields wrapper partial. Check https://github.com/arielj/vanilla-nested/pull/64 for an example. Thanks to @gregogalante for the contribution!

0 comments on commit cab8f39

Please sign in to comment.