Sha256: fcdb19965a6ad221690fabfef6dae795fa48283b8c2d0cf8481f628cb76c05e2
Contents?: true
Size: 291 Bytes
Versions: 19
Compression:
Stored size: 291 Bytes
Contents
module Headmin module BootstrapHelper def bootstrap_icon(icon, options = {}) tag_name = options.extract!(:tag_name).fetch(:tag_name, :i) options[:class] = ["bi", "bi-#{icon}", options.dig(:class)].compact.join(" ") content_tag(tag_name, options) {} end end end
Version data entries
19 entries across 19 versions & 1 rubygems