Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
2 customisation options for has_many form #1945
and 1 other
commented on an outdated diff
Mar 6, 2013
|inputs options, &form_block|
|- js = js_for_has_many(association, form_block, template)|
|+ js = options[:new_record] == false ? "" : js_for_has_many(association, form_block, template)|
|form_buffers.last << js.html_safe|