demarches-normaliennes/app/views/layouts/_flash_messages.html.haml
2017-06-21 18:07:58 +02:00

11 lines
294 B
Text

- if flash.any?
#flash_message.center
- flash.each do |key, value|
- if value.class == Array
.alert{ class: flash_class(key) }
- value.each do |message|
= message
%br
- else
.alert{ class: flash_class(key) }
= value