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

Version Path
cybele-2.3.2 templates/app_files/app/views/layouts/partials/_messages.html.haml
cybele-2.3.1 templates/app_files/app/views/layouts/partials/_messages.html.haml
cybele-2.2.0 templates/app_files/app/views/layouts/partials/_messages.html.haml
cybele-2.1.0 templates/app_files/app/views/layouts/partials/_messages.html.haml
cybele-2.0.0 templates/app_files/app/views/layouts/partials/_messages.html.haml