css - Bootstrap is adding more icons than called for in rails -
i trying add user icon header. bootstrap adding more icons code calls for, going on? in advance!
<ul class="nav pull-right"> <% if user_signed_in? %> <li><%= link_to "edit profile", edit_user_registration_path %></li> <li><%= link_to "logout", destroy_user_session_path, method: :delete %></li> <% else %> <li><%= link_to "", new_user_session_path, class: "icon-user" %></li> <% end %> </ul>
http://i.minus.com/i7krj72g9gmsd.png
i using responsive navbar btw.
i don't have bootstrap icons in rails project test this, see if works:
<%= link_to raw("<i class='icon-user'></i>"), new_user_session_path %>