Sha256: 0ac06f0abbc05f5364a21ee5280e0825b923a7ac7f14363f49afc0f1c5241bdb

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

module StatusIndicatorHelper
  def status_indicator(record)
    content_tag(:span, '',
      class: "status-indicator status-indicator--#{record.status}",
      title: "Page status: #{t(record.status, scope: [:forest, :admin, record.model_name.singular, :status])}")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forest_cms-0.98.1 app/helpers/status_indicator_helper.rb