This commit is contained in:
Rohan Mitchell
2016-09-16 11:52:42 +10:00
parent db93b74490
commit f4034b1065

View File

@@ -18,7 +18,7 @@ module Spree
options[:class] += 'no-text with-tip' if options[:no_text]
html_options = {class: "remove_fields #{options[:class]}", data: {action: 'remove'}, title: t(:remove)}
html_options.merge!(options[:html])
html_options.merge!(options[:html]) if options.key? :html
link_to_with_icon('icon-trash', name, '#', html_options) + f.hidden_field(:_destroy)
end