- icon = content_tag("picture", svg_icon + png_icon)
- icon = link_to(icon, url, :method => :post, :confirm => confirm) if url
+ icon = tag.picture(svg_icon + png_icon)
+ icon = link_to(icon, url, :method => :post, :data => { :confirm => confirm }) if url