app/views/shared/_messages.html.haml
-[:notice, :error, :alert].each do |level|
-unless flash[level].blank?
%div{:class => 'alert alert-dismissible ' + flash_class(level), :role => 'alert'}
%button.close{:type => 'button', 'data-dismiss' => 'alert', 'aria-hidden' => 'true'}
×
=content_tag :p, flash[level]