Commit Graph

10 Commits

Author SHA1 Message Date
nathanvda e410388bd6 Added tests for the install generator. 2011-07-24 00:54:15 +02:00
nathanvda 1628bb19d3 Made Cocoon Rails 3.1 compatible:
- moved cocoon.js to app/assets/javascripts
- adapted install-generator accordingly (for rails 3.0.x)
- made it an engine instead of railtie (to use the asset pipeline)
2011-07-24 00:17:40 +02:00
gray 407fad5410 Add if/else brackets 2011-07-19 15:49:59 +03:00
gray 01ec1ff00b Small refactor cocoon.js 2011-07-19 12:53:04 +03:00
Tangerine Cat cebcb21242 Made available call to external jQuery callbacks on add_fields click 2011-04-25 00:48:26 +02:00
nathanvda 630a88a704 Avoid HTML collisions. Inspired by the code from rfc2616. This fixes #6. 2011-04-25 00:21:13 +02:00
nathanvda bf34b7494b Added the code from rfc2616: push in plurals from ruby, with added (simple) tests 2011-04-24 14:36:50 +02:00
Andrius Chamentauskas 657e478801 Template is now saved under data-association attribute to prevent those extra blank records when submitting form. 2011-03-15 16:41:17 +02:00
Mihai Târnovan 75c3a9bacd * added option to specify position of insertion for the add partial 2011-03-03 19:22:23 +01:00
nathanvda dc09be5634 moved from formtastic-cocoon to just cocoon 2011-02-09 22:03:53 +01:00