Sha256: 6d3398fcd2bbe5006449cd67e824dceb5d9bd53118a162620864c90e33f19004
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
- flash.each do |key, value| - if key.to_s == 'notice' - key = 'success' - if key.to_s == 'alert' - key = 'danger' .alert.alert-dismissable.message{ class: "alert-#{key}" } - if key.to_s == 'danger' || key.to_s == 'warning' %i.fas.fa-exclamation-triangle.fa-lg - else %i.fas.fa-smile.fa-lg = value
Version data entries
5 entries across 5 versions & 1 rubygems