Sha256: 59ab87778ec37b8d5b161f137934f2dd2b4a606124e6fe2fc061dd8d01ca95eb

Contents?: true

Size: 206 Bytes

Versions: 13

Compression:

Stored size: 206 Bytes

Contents

module Trestle
  module StatusHelper
    def status_tag(label, status=:default, options={})
      options[:class] ||= ["label", "label-#{status}"]
      content_tag(:span, label, options)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
trestle-0.8.13 app/helpers/trestle/status_helper.rb
trestle-0.8.12 app/helpers/trestle/status_helper.rb
trestle-0.8.11 app/helpers/trestle/status_helper.rb
trestle-0.8.10 app/helpers/trestle/status_helper.rb
trestle-0.8.9 app/helpers/trestle/status_helper.rb
trestle-0.8.8 app/helpers/trestle/status_helper.rb
trestle-0.8.7 app/helpers/trestle/status_helper.rb
trestle-0.8.6 app/helpers/trestle/status_helper.rb
trestle-0.8.5 app/helpers/trestle/status_helper.rb
trestle-0.8.4 app/helpers/trestle/status_helper.rb
trestle-0.8.3 app/helpers/trestle/status_helper.rb
trestle-0.8.2 app/helpers/trestle/status_helper.rb
trestle-0.8.0 app/helpers/trestle/status_helper.rb