<% if flash.alert.present? %>
  <div class="alert alert-danger text-center text-md-left"><%= flash.alert.html_safe %></div>
<% elsif flash.notice.present? %>
  <div class="alert alert-primary text-center text-md-left"><%= flash.notice.html_safe %></div>
<% end %>
