Skip to content

jQuery plugin for use alongside Rails' accepts_nested_attributes_for

License

Notifications You must be signed in to change notification settings

mboynes/nestedAttributes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

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

No packages published