Closed mfrederickson closed 8 years ago
This worked just fine for me
<%= link_to user_path(@user), class: "btn btn-danger", data: {confirm: "Are you sure?", "confirm-title": '<span class="fa fa-trash-o"> Delete User' } do %><span class="fa fa-trash-o"> Delete User</span><% end %>
a) why wouldn't that work? b) Something like corejh proposed feels right for now
How do I show a font-awesome icon in the title? The following does not work: