aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/bootstrap_helper.rb
blob: ee382a989571bf7f4b006bcc9bb4f2802f3be8e3 (plain)
1
2
3
4
5
6
7
8
module BootstrapHelper

  def bh_label(content, options = {})
    options = { variation: "default" }.merge(options)
    content_tag :span, content, class: "label label-#{options[:variation]}"
  end

end