2016-06-21 17:10:24 -04:00
|
|
|
.flash-container.flash-container-page
|
2017-11-20 11:40:01 -05:00
|
|
|
-# We currently only support `alert`, `notice`, `success`
|
|
|
|
- flash.each do |key, value|
|
2017-11-29 17:04:41 -05:00
|
|
|
-# Don't show a flash message if the message is nil
|
|
|
|
- if value
|
|
|
|
%div{ class: "flash-#{key}" }
|
|
|
|
%div{ class: (container_class) }
|
|
|
|
%span= value
|