What\'s the best way to use an icon provided by Twitter Bootstrap as a link in Rails 3?
Currently, I am using it like the pasted snippet, but the icon doesn\'t displ
Using link_to with icon bootstrap
<%= link_to edit_idea_path(idea), class: 'btn btn-default' do %>
Edit
<% end %>
<%= link_to new_idea_path, class: 'btn btn-primary btn-lg' do %>
New Idea
<% end %>
<%= link_to idea, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' do %>
Destroy
<% end %>
http://railsgirls.co.il/en/guides/design/list-page/icons.html