Module: Trestle::StatusHelper
- Defined in:
- app/helpers/trestle/status_helper.rb
Instance Method Summary collapse
Instance Method Details
#status_tag(label, status = :default, options = {}) ⇒ Object
3 4 5 6 |
# File 'app/helpers/trestle/status_helper.rb', line 3 def status_tag(label, status=:default, ={}) [:class] ||= ["label", "label-#{status}"] content_tag(:span, label, ) end |