Sha256: d6e5ed1080aa77cb1b8a444381eebf268d70503a20a7069dd4b5404d0d3175e6

Contents?: true

Size: 218 Bytes

Versions: 142

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module FlashHelper
    STYLES = { notice: "success", error: "alert", warning: "warning" }.freeze

    def flash_style(name)
      STYLES[name.to_sym]
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.84 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.83 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.82 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.81 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.80 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.79 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.78 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.77 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.76 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.75 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.74 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.73 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.72 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.71 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.70 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.69 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.68 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.67 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.64 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.63 app/helpers/renalware/flash_helper.rb