Skip to content

Simple Rails application which shows the use of NestedAttributes and AutosaveAssociation.

License

Notifications You must be signed in to change notification settings

alloy/complex-form-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Rails application which shows the use of NestedAttributes and AutosaveAssociation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 80.1%
  • JavaScript 19.9%