Sha256: c459bb424212753a3263d286174498794abcf1f0feb0cbcb75ccaba141b33265

Contents?: true

Size: 141 Bytes

Versions: 6

Compression:

Stored size: 141 Bytes

Contents

module Agilibox::BootstrapHelper
  def icon(id)
    id = id.to_s.tr("_", "-")
    content_tag(:span, class: "icon fa fa-#{id}") {}
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
agilibox-1.0.15 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.14 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.13 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.12 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.11 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.10 app/helpers/agilibox/bootstrap_helper.rb