5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-12-01 10:06:22 +00:00
panel/app/views/layouts/_flash.haml

8 lines
274 B
Text
Raw Normal View History

2018-04-30 18:51:39 +00:00
- flash.each do |type, message|
.alert.alert-dismissible.fade.show{role: 'alert', class: "alert-#{type.to_s}"}
= message
%button.close{type: 'button',
data: { dismiss: 'alert' },
'aria-label': t('help.close') }
%span{'aria-hidden': true} ×