Sha256: aeb2d7dec32428e541d49349a95fc64d638be913d3e753b504b49a93c30290b0

Contents?: true

Size: 141 Bytes

Versions: 11

Compression:

Stored size: 141 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dorsale-3.4.0 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.3.0 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.2.0 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.7 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.6 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.5 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.4 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.3 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.2 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.1 app/helpers/dorsale/bootstrap_helper.rb
dorsale-3.1.0 app/helpers/dorsale/bootstrap_helper.rb