nested_form_fields 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb813a85779b0a95a43aec817a9e676dd616e892
4
- data.tar.gz: 7668ca008dc5cd61c6d0b249fbcd86daa8ccf373
3
+ metadata.gz: 780896d01d77d65dabbf6e49138d75873f36ce38
4
+ data.tar.gz: 9f788fb496249e0478d40a7740fabc23f30aafed
5
5
  SHA512:
6
- metadata.gz: 1d8294f51086f30bc92f626a6e50e317ad719471755eb9644bef72d90f6d1e2f2dd155a9703cc54fc9e34964482359038c129de5e5db85a86f7d59af86281e6b
7
- data.tar.gz: 2215f957696aec9a9feb9e440e04a1f70b4382687b1d75e487428d1cd67e2ab11e7fcf479d068f88298bf2c38d0bcf416e0572283a37dddd327f29db14b7f243
6
+ metadata.gz: 21559a77beb15101d5ffcabb94b70699d761efdd0ded937c9a2bd5b28a7fe5bcd1388fd209a98f521c37416c633532aa1b2a3d78c8a2724cdfc8a8b32b2f0704
7
+ data.tar.gz: cede63960729dd02ed7498ac2177919c3af187ed19fdb26c8b44d7b91cdb0a14242ec701a4f24b2fb322c3597d122bc084f7d8ea71e0de80676a8b5133376cfe
@@ -45,7 +45,7 @@ module ActionView::Helpers
45
45
  args = []
46
46
  args << (text || 'x') unless block_given?
47
47
  args << ''
48
- args << { class: "#{html_class} remove_nested_fields_link",
48
+ args << { class: "#{html_class.empty? ? '' : html_class} remove_nested_fields_link",
49
49
  data: { delete_association_field_name: delete_association_field_name,
50
50
  object_class: @object.class.name.underscore.downcase }.merge(html_data)
51
51
  }.merge(html_options)
@@ -1,3 +1,3 @@
1
1
  module NestedFormFields
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Ritsche