Commit Graph

6 Commits

Author SHA1 Message Date
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
David Roetzel
7e8de74176 Use hidden_field_tag instead of hidden_field.
This works around problems with
accepts_nested_attributes_for :reject_if => :all_blank.
hidden_field injects a (String!) value of "false"
into the form, effectively disabling the all_blank
check.
2011-03-04 16:36:12 +01:00
nathanvda
95f7d5237f If a block is given, no link-text needs to be given as a parameter anymore. 2011-03-03 21:15:12 +01:00
Mihai Târnovan
75c3a9bacd * added option to specify position of insertion for the add partial 2011-03-03 19:22:23 +01:00
Mihai Târnovan
dc1ad12845 * added html_options and block args to link_to_remove association and link_to_add_association 2011-03-03 18:54:43 +01:00
nathanvda
dc09be5634 moved from formtastic-cocoon to just cocoon 2011-02-09 22:03:53 +01:00