-if !flash.empty?
  div.content-container.alert-container
    -flash.each do |key, value|
      div class="alert alert-#{key} content-body-alert" role="alert"
        -if key == "success"
          i.fa.fa-check-circle aria-hidden="true"
        -elsif key == "error"
          i.fa.fa-times-circle aria-hidden="true"
        -elsif key == "info"
          i.fa.fa-info-circle aria-hidden="true"
        -elsif key == "warning"
          i.fa.fa-exclamation-triangle aria-hidden="true"
        ==value
        button.close aria-hidden="false" aria-label="Close" data-dismiss="alert" type="button" &times;
      hr.hidden

-if !flash.empty?
  div.content-container.alert-container
    -flash.each do |key, value|
      - if key == "alert"
        - key = "error"
      - if key == "notice"
        - key = "info"
      div class="alert alert-#{key} content-body-alert" role="alert"
        -if key == "success"
          i.fa.fa-check-circle aria-hidden="true"
        -elsif key == "error"
          i.fa.fa-times-circle aria-hidden="true"
        -elsif key == "info"
          i.fa.fa-info-circle aria-hidden="true"
        -elsif key == "warning"
          i.fa.fa-exclamation-triangle aria-hidden="true"
        ==value
        button.close aria-hidden="false" aria-label="Close" data-dismiss="alert" type="button" &times;
      hr.hidden

Change devise alert and notice to error and info for proper display
Change devise alert and notice to error and info for proper display

nbgallery/nbgallery,nbgallery/nbgallery,nbgallery/nbgallery,nbgallery/nbgallery