-
Notifications
You must be signed in to change notification settings - Fork 0
jQuery plugin for use alongside Rails' accepts_nested_attributes_for
License
mboynes/nestedAttributes
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple jQuery plugin for working with nested attributes in rails apps call this on a 'wrapper' element with a plural id, e.g. "#items", which has duplicatable child elements with a singular class, e.g. ".item" Sample HTML structure: <ul id="items"><li class="item" />...<li class="item" /></ul> Takes optional setting 'singular' if your parent element isn't singularizable by removing an 's' A minor extension to Ryan Bates' and Tim Riley's "Complex Forms Example", found here: https://github.com/timriley/complex-form-examples/ Thanks to both of them for being awesome.
About
jQuery plugin for use alongside Rails' accepts_nested_attributes_for
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published