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 +4 -4
- data/lib/nested_form_fields.rb +1 -1
- data/lib/nested_form_fields/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 780896d01d77d65dabbf6e49138d75873f36ce38
|
4
|
+
data.tar.gz: 9f788fb496249e0478d40a7740fabc23f30aafed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21559a77beb15101d5ffcabb94b70699d761efdd0ded937c9a2bd5b28a7fe5bcd1388fd209a98f521c37416c633532aa1b2a3d78c8a2724cdfc8a8b32b2f0704
|
7
|
+
data.tar.gz: cede63960729dd02ed7498ac2177919c3af187ed19fdb26c8b44d7b91cdb0a14242ec701a4f24b2fb322c3597d122bc084f7d8ea71e0de80676a8b5133376cfe
|
data/lib/nested_form_fields.rb
CHANGED
@@ -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)
|