<% if flash[level].present? %>
<%= flash[level].html_safe %>
<% end %>