Glyphicons for Rails

I love using Jan Kovařík's Glyphicons in my web app.

So much so that I've created a set of helpers to allow me to say things like

<%= glyphicon :remove %>


<%= link_to_glyphicon :remove, … %>

Here's the code.

You'll find:

  • A Rake task to create the required data structures.
  • The output of that Rake task (glyphicons.rb).
  • And finally the helper that allows me to say.

Feel free to use it.



There are no comments yet. Be the first one to leave a comment!

Leave a comment