Method: IconHelper#glyphicon
- Defined in:
- app/helpers/icon_helper.rb
#glyphicon(icon_key) ⇒ Object
This includes an icon from Twitter-Bootstrap’s Glyphicon icon set: getbootstrap.com/components/#glyphicons
14 15 16 |
# File 'app/helpers/icon_helper.rb', line 14 def glyphicon(icon_key) content_tag :span, '', class: "glyphicon glyphicon-#{icon_key}", 'aria-hidden' => true end |