- unless flash.blank? %ul#flash_massages - flash.each_pair do |key, value| %li{:class => key}= value