Sha256: 3fe3e36767e063a9430d2d827e911c094da3c8c3e0864805e00498c39ac12520

Contents?: true

Size: 142 Bytes

Versions: 10

Compression:

Stored size: 142 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
agilibox-1.0.9 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.8 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.7 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.6 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.5 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.4 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.3 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.2 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.1 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.0.0 app/helpers/agilibox/bootstrap_helper.rb