5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 19:46:22 +00:00
panel/app/views/layouts/_flash.haml
2018-04-30 15:51:39 -03:00

7 lines
274 B
Text

- 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} ×