sutty/app/views/layouts/_flash.haml

4 lines
117 B
Text
Raw Normal View History

2018-04-30 18:51:39 +00:00
- flash.each do |type, message|
- unless type == 'js'
.alert{ role: 'alert', class: "alert-#{type}" }= message