3741402a24
This commit also unifies layout structure and remove no_container flag
8 lines
352 B
Text
8 lines
352 B
Text
.flash-container.flash-container-page.sticky
|
|
-# 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-content flash-#{key} rounded" }
|
|
%span= value
|
|
= sprite_icon('close', size: 16, css_class: 'close-icon')
|