public
Fork of ryanb/complex-form-examples
Description: Simple Rails application which shows the use of NestedAttributes and AutosaveAssociation.
Homepage:
Clone URL: git://github.com/alloy/complex-form-examples.git
100644 11 lines (8 sloc) 0.502 kb
1
2
3
4
5
6
7
8
9
10
11
Complex Form Examples - 2 level nesting
----------------------------------------
 
Example of nested forms with 2 level nesting.
 
- We've extracted html chunks into javascript variables in the head to avoid repetition and double javascript escaping (escape_javascript).
- Events work with delegate because it's easier when adding dynamic html parts.
- Most of the javascript is extracted to application.js
 
Rails is vendored using a Git submodule to official repository:
git://github.com/rails/rails.git