Using Glyphicons with Rails

I love Glyphicons - they're pretty, versatile, stylish, clean, well executed, well priced, and there's lots of them.

So I've created a Rails helper that makes it easier to work with them. It lets you do things like this:

link_to_glyphicon(:edit, edit_admin_product_coupon_path(@product, coupon))

glyphicon(:move, :class => 'drag_handle', :title => "Drag to reorder", :variant => :halfling)


If you're interested, you can find the code here.

Patches are graciously accepted.

0 comments

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

Leave a comment