-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Bages, Labels, Fontawesome, and Glyphicons
Prokop Simek edited this page Sep 25, 2016
·
1 revision
Badge:
<%= badge(12, :warning) %> <span class="badge badge-warning">12</span>
Label:
<%= tag_label('Gut!', :success) %> <span class="label label-success">Gut!</span>
Fontawesome Icons:
<%= fa_icon(:refresh) %> <i class="fa fa-refresh"></i>
<%= fa_icon(:refresh, {:tag => :span}) %> <span class="fa fa-refresh"></span>
Glyph (with Glyphicons enabled in bootstrap_overrides):
<%= glyph(:pencil) %> <i class="icon-pencil"></i>
<%= glyph(:pencil, {:tag => :span}) %> <span class="icon-pencil"></span>
Glyph (with Glyphicons enabled in bootstrap_overrides):
<%= glyph(:pencil) %> <i class="icon-pencil"></i>
<%= glyph(:pencil, {:tag => :span}) %> <span class="icon-pencil"></span>