-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit add link #69
Comments
You can use the |
Great gem! Can you elaborate on how either of those solutions could be performed? I've got multiple nested forms on one page, and I'd like to limit the number of nested_fields that can be created for each of them. I see the CoffeeScript samples in the Readme, but I'm having a hard time connecting those with what would need to happen in this situation. Thanks! |
You can roughly do something like this for example:
|
Great! Thank you very much for the help! |
is there a way to limit
f.add_nested_fields_link
to a number? Meaning, let's say someone clicks thef.add_nested_fields_link
link, I only want the person to add 1 nested object. How can I make the link not be shown after clicked x amount of times?The text was updated successfully, but these errors were encountered: