- [:notice, :success, :error, :alert, :info].each do |type| - if flash[type].present? .flash{ "data-alert" => "alert", :class => [bootstrapped_type(type), type, 'alert'] } .close{ "data-dismiss" => "alert"} × = [flash[type]].flatten.join('
').html_safe