nested_form_fields 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module NestedFormFields
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -18,7 +18,7 @@ jQuery ->
18
18
  $child = $(this)
19
19
  $child.replaceWith($("<script id='#{$child.attr('id')}' type='text/html' />").html($child.html()))
20
20
 
21
- $link.before( $parsed_template )
21
+ $template.before( $parsed_template )
22
22
  false
23
23
 
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_form_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-20 00:00:00.000000000Z
12
+ date: 2012-05-21 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! "Rails gem for dynamically adding and removing nested has_many association
15
15
  fields in a form.\n Uses jQuery and supports multiple nesting