gitlab-org--gitlab-foss/app/views/layouts/_flash.html.haml
2017-11-29 16:04:41 -06:00

8 lines
300 B
Text

.flash-container.flash-container-page
-# We currently only support `alert`, `notice`, `success`
- flash.each do |key, value|
-# Don't show a flash message if the message is nil
- if value
%div{ class: "flash-#{key}" }
%div{ class: (container_class) }
%span= value