lib/lipstick/helpers/form_helper.rb in aaf-lipstick-4.6.0 vs lib/lipstick/helpers/form_helper.rb in aaf-lipstick-4.7.0
- old
+ new
@@ -114,10 +114,10 @@
def delete_button_tag(url, text: true, **opts)
action = text.is_a?(String) ? text : 'Delete'
content_tag('div', class: 'btn-group') do
- concat(delete_dropdown_opener(text && action, opts))
+ concat(delete_dropdown_opener(text && action, **opts))
concat(confirm_delete_dropdown(url, action))
end
end
def form_for(obj, opts = {}, &block)