sutty/app/views/layouts/_flash.haml

3 lines
117 B
Text

- flash.each do |type, message|
- unless type == 'js'
.alert{ role: 'alert', class: "alert-#{type}" }= message