calvin-brand-light-mode
calvin-brand-dark-mode
∕
⌘K
About Calvin Podcast We Can Do This Book Speaking
aAbout Calvin
Podcast
wWe Can Do This Book
sSpeaking
Back

Using Glyphicons with Rails

Other
Calvin Correli·Sep 5, 2011· 1 minute
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.
Previous Linking two input fields
Next Steve Jobs, inspiration, and perspiration

Comments

Write a comment...
00:00 Recording...
calvin-brand-light-mode
calvin-brand-dark-mode
1 Chestnut Hill Plaza #1139
Newark, DE 19713
United States
Copyright © 2026 Calvin Correli
powered by