<% if flash.alert.present? %>
<%= flash.alert.html_safe %>
<% elsif flash.notice.present? %>
<%= flash.notice.html_safe %>
<% end %>