mod/edit/set/all/form_elements.rb in card-1.97.0 vs mod/edit/set/all/form_elements.rb in card-1.97.0.1
- old
+ new
@@ -1,7 +1,7 @@
format :html do
def success_tags opts
- return "" unless opts
+ return "" unless opts.present?
hidden_tags success: opts
end
# convert hash into a collection of hidden tags