af83/chouette-core

View on GitHub
app/helpers/bootstrap_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module BootstrapHelper

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

end