From cab8f390dc99eed933952f6fcc14603bad30c6a8 Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Thu, 25 May 2023 17:33:50 -0300 Subject: [PATCH] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f9dc93..80933af 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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!